ming %!s(int64=3) %!d(string=hai) anos
pai
achega
85bbd8f5ef
Modificáronse 1 ficheiros con 6 adicións e 8 borrados
  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);