Browse Source

Merge branch 'master' of https://git.cocorobo.cn/CocoRoboLabs/ssti-CollegeManage

yuanyiming 2 years ago
parent
commit
9d3c0c4a99
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/views/echarts.vue

+ 2 - 0
src/views/echarts.vue

@@ -180,6 +180,7 @@
           yAxis: {
             type: 'category',
             zlevel:1,
+            splitNumber:5,
             axisLabel:{
               inside:true,
               margin:10,
@@ -198,6 +199,7 @@
           series: [
             {
               type: 'bar',
+              barWidth:50,
               encode: {
                 x: 'amount',
                 y: 'product'