zhangchunxia
2024-05-06 a3bc1499023bfcca59d823aefae8c546e36e7a45
src/components/echarts/echarsBar.vue
@@ -50,7 +50,7 @@
          }
        },
        grid: {
          left: '5%',
          left: '5%',
          top: '10%',
          right: '10%',
          bottom: '3%',
@@ -93,8 +93,7 @@
      for (let i = 1; i < this.param.seriesCount; i++) {
        this.data.series[i] = {
          stack: this.param.seriesStack[i],
          name: this.param.seriesName[i],
          type: this.param.seriesType[i],
          name: this.param.seriesName[i],
          data: this.param.seriesData[i],
          color: this.param.seriesColorData[i],
          yAxisIndex: this.param.yAxisIndexData[i]
@@ -107,7 +106,7 @@
      immediate: true,
      deep: true,
      handler(newVal, oldVal) {
        if (this.chart) {
        if (this.chart) {
          if (newVal) {
            if (newVal.chartType === 'transverse') {
              this.transverse()