Bladeren bron

单井信息详情产油量折线图查询数据不正确修改,井筒全息快照,删除趋势放大图的Y轴坐标轴标题,图表标题左对齐。

周壕 1 jaar geleden
bovenliggende
commit
ff14496c61
1 gewijzigde bestanden met toevoegingen van 3 en 3 verwijderingen
  1. 3 3
      vue/src/components/basic/chart/chart-cell.vue

+ 3 - 3
vue/src/components/basic/chart/chart-cell.vue

@@ -119,11 +119,11 @@
         let xAxis = await this.getxAxis(true);
         xAxis['nameRotate'] = 0;
         const option = {
-          title: { left: 'center', text: '累产量趋势图' },
+          title: { text: '累产量趋势图' },
           tooltip: { trigger: 'item', triggerOn:"mousemove",showContent:true },
-          grid: { top:'15%', left: '8%', right: '3%', bottom: '6%', containLabel: true },
+          grid: { top:'15%', left: '3%', right: '3%', bottom: '6%', containLabel: true },
           xAxis: xAxis,
-          yAxis: { name:'累产量', nameGap: 50, nameLocation:'center', type: 'value'},
+          yAxis: { type: 'value'},
           series: await this.getSeries(true)
         };
         console.log("readerChart-"+this.serieType,option);