bug修改

This commit is contained in:
2026-04-14 15:27:06 +08:00
parent 446078f558
commit d8abdfbfec
14 changed files with 49 additions and 351 deletions

View File

@@ -1,5 +1,5 @@
<template>
<div ref="cockpitEffChip" id="coreLineChart" style="width: 100%; height: 200px;"></div>
<div ref="cockpitEffChip" id="coreLineChart" style="width: 100%; height: 100%;"></div>
</template>
<script>
import * as echarts from 'echarts';
@@ -66,26 +66,10 @@ export default {
const option = {
tooltip: {
trigger: 'axis',
// axisPointer: {
// type: 'cross',
// label: {
// backgroundColor: '#6a7985'
// }
// },
// formatter: (params) => {
// let html = `${params[0].axisValue}<br/>`;
// params.forEach(item => {
// const unit = item.seriesName === '完成率' ? '%' : (
// ['产量', '销量'].includes(this.$parent.selectedProfit) ? '片' : '万元'
// );
// html += `${item.marker} ${item.seriesName}: ${item.value}${unit}<br/>`;
// });
// return html;
// }
},
grid: {
top: 20,
bottom: 30,
bottom: 10,
right: 20,
left: 5,
containLabel: true