Explorar o código

决策大屏显示bug

laiguoran %!s(int64=3) %!d(string=hai) anos
pai
achega
ca18313e41
Modificáronse 1 ficheiros con 4 adicións e 2 borrados
  1. 4 2
      app/view/datacollect/index.ejs

+ 4 - 2
app/view/datacollect/index.ejs

@@ -594,7 +594,9 @@
     option1 = {
         tooltip : {
             trigger: 'item',
-            formatter: "{a} <br/>{b} : {c} ({d}%)"
+            formatter: "{a} <br/>{b} : {c} ({d}%)",
+            // 当前鼠标位置
+            position: 'right',
         },
         title: {
             text: '金额统计图',
@@ -655,7 +657,7 @@
             trigger: 'axis',
             axisPointer: {            // 坐标轴指示器,坐标轴触发有效
                 type: 'shadow'        // 默认为直线,可选为:'line' | 'shadow'
-            }
+            },
         },
 
         dataZoom: [