ming 3 years ago
parent
commit
85bbd8f5ef
1 changed files with 6 additions and 8 deletions
  1. 6 8
      similar_web/index2.html

+ 6 - 8
similar_web/index2.html

@@ -357,6 +357,10 @@
           }
 
           option = {
+
+            tooltip: {
+              trigger: 'axis'
+            },
             xAxis: {
               type: 'category',
               boundaryGap: false,
@@ -369,14 +373,8 @@
               data: val_ary,
               type: 'line',
               areaStyle: {},
-              markLine: {
-                data: [{
-                  symbol: 'diamond',
-                  symbolSize: 30,
-                  name: 'average line',
-                  type: 'average'
-                }]
-              }
+
+
             }]
           };
           myChart.setOption(option);