You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by GitBox <gi...@apache.org> on 2019/12/02 08:22:10 UTC

[GitHub] [incubator-echarts] 0x018 opened a new issue #11763: 柱状图不能设置间距

0x018 opened a new issue #11763: 柱状图不能设置间距
URL: https://github.com/apache/incubator-echarts/issues/11763
 
 
   ### Version
   4.4.0
   
   ### Steps to reproduce
   // 官网样例, option 修改如下:
   
   option = {
       xAxis: {
           data: ['a', 'b', 'c', 'd','a', 'b', 'c', 'd','a', 'b', 'c', 'd','a', 'b', 'c', 'd','a', 'b', 'c', 'd'],
       },
       yAxis: {
           splitLine: {show: false}
       },
       series: [{
           type: 'bar',
           barWidth: 40,
           barCategoryGap:10, // 如果设置了 barWidth , 会导致间距自动适应, 从而 barCategoryGap 的值失效
           data: [10, 20, 30, 40, 50, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60]
       }]
   };
   
   ### What is expected?
   希望能设置间距,或者增加属性最小间距
   
   ### What is actually happening?
   当柱子特别多的时候, 间距可能会过小,并在一起
   
   <!-- This issue is generated by echarts-issue-helper. DO NOT REMOVE -->
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org