Browse Source

纵坐标加%

luolei 5 years ago
parent
commit
29e19e0a43
1 changed files with 4 additions and 1 deletions
  1. 4 1
      src/js/console.js

+ 4 - 1
src/js/console.js

@@ -1115,7 +1115,10 @@ function barChartLevel(dataX,dataY){
                 axisLabel: {//y轴刻度
                     textStyle: {
                         color: '#E9EBEF'
-                    }
+                    },
+                
+                    interval: 'auto',  
+                    formatter: '{value} %'  
                 },
                 splitLine:{//分割线
                     lineStyle:{