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/19 04:03:25 UTC

[GitHub] [incubator-echarts] gongfuxiaocai opened a new issue #11873: X轴不会均匀分布

gongfuxiaocai opened a new issue #11873: X轴不会均匀分布
URL: https://github.com/apache/incubator-echarts/issues/11873
 
 
   ### Version
   4.4.0
   
   ### Steps to reproduce
   配置项如下:
   option = {
       xAxis: {
           type: 'category',
           scale: true,
           data: [1, 2, 5, 10, 11, 13, 20]
       },
       yAxis: {
           type: 'value'
       },
       series: [{
           data: [820, 932, 901, 934, 1290, 1330, 1320],
           type: 'line'
       }]
   };
   
   ### What is expected?
   期望X轴能像Y轴一样自动分布
   
   ### What is actually happening?
   实际展示的一个X对应一个点,X轴展示的没达到均匀分布
   
   <!-- This issue is generated by echarts-issue-helper. DO NOT REMOVE -->
   ![image](https://user-images.githubusercontent.com/20085964/71144017-88275680-2257-11ea-95d8-39641dbd8a8c.png)
   

----------------------------------------------------------------
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