Bladeren bron

调整预测数据查询中曲线上显示的点及移动鼠标卡顿现象

xusl 1 jaar geleden
bovenliggende
commit
e4b22d508d
1 gewijzigde bestanden met toevoegingen van 5 en 5 verwijderingen
  1. 5 5
      ipp-ap/src/views/idp/data/forecastpowerdata/index.vue

+ 5 - 5
ipp-ap/src/views/idp/data/forecastpowerdata/index.vue

@@ -295,7 +295,7 @@ export default {
         name: '实际功率',
         type: 'line',
         smooth: true,
-        symbol: 'circle',
+        showSymbol:false,
         symbolSize: 5,
         data: realpower,
         itemStyle: {
@@ -310,7 +310,7 @@ export default {
           name: item + '短期',
           type: 'line',
           smooth: true,
-          symbol: 'circle',
+          showSymbol:false,
           symbolSize: 5,
           data: shortPower[0][item],
           itemStyle: {
@@ -326,7 +326,7 @@ export default {
           name: item + '超短期',
           type: 'line',
           smooth: true,
-          symbol: 'circle',
+          showSymbol:false,
           symbolSize: 5,
           data: ultraShortPower[0][item],
           itemStyle: {
@@ -352,6 +352,7 @@ export default {
         tooltip: {
           trigger: 'axis',
           axisPointer: {
+            animation:false,
             lineStyle: {
               color: '#040606'
             }
@@ -405,7 +406,6 @@ export default {
             }
           },
           axisLabel: {
-            margin: 10,
             textStyle: {
               fontSize: 14
             }
@@ -418,7 +418,7 @@ export default {
         }],
         series: this.arrays
       };
-      option.yAxis[0].max = cap
+
       this.chart.setOption(option, true)
     },
     getManufactor(val) {