Q-ABAB 2 anni fa
parent
commit
7de06ac6c8
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  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'