소스 검색

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

周壕 1 년 전
부모
커밋
ff14496c61
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  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);
         let xAxis = await this.getxAxis(true);
         xAxis['nameRotate'] = 0;
         xAxis['nameRotate'] = 0;
         const option = {
         const option = {
-          title: { left: 'center', text: '累产量趋势图' },
+          title: { text: '累产量趋势图' },
           tooltip: { trigger: 'item', triggerOn:"mousemove",showContent:true },
           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,
           xAxis: xAxis,
-          yAxis: { name:'累产量', nameGap: 50, nameLocation:'center', type: 'value'},
+          yAxis: { type: 'value'},
           series: await this.getSeries(true)
           series: await this.getSeries(true)
         };
         };
         console.log("readerChart-"+this.serieType,option);
         console.log("readerChart-"+this.serieType,option);