瀏覽代碼

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

yuanyiming 2 年之前
父節點
當前提交
9d3c0c4a99
共有 1 個文件被更改,包括 2 次插入0 次删除
  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'