jiangping
2024-12-20 53b6400ec10c8ca61ccec91c82c358d2488eead8
screen/src/views/EnergyConsum.vue
@@ -347,7 +347,7 @@
    xAxis: {
      type: 'category',
      boundaryGap: false,
      data: data5.value.map(i => i.timeData)
      data: data5.value.map(i => dayjs(i.timeData).format('M'))
    },
    tooltip: {
      trigger: 'axis',
@@ -483,7 +483,7 @@
      }
    },
    grid: {
      top: '26%',
      top: '18%',
      left: '4%',
      right: '2%',
      bottom: '2%',
@@ -577,7 +577,7 @@
  myChart.setOption({
    grid: {
      top: '24%',
      top: '20%',
      left: '6%',
      right: '2%',
      bottom: '4%',
@@ -591,7 +591,7 @@
    },
    xAxis: {
      type: 'category',
      data: data2.value.map(i => i.timeData)
      data: data2.value.map(i => dayjs(i.timeData).format('M'))
    },
    yAxis: {
      type: 'value',