anjing0524 opened a new issue #14367:
URL: https://github.com/apache/echarts/issues/14367


   ### Version
   5.0.2
   
   ### Steps to reproduce
   option = {
       legend: {},
       tooltip: {},
       dataset: {
           // 用 dimensions 指定了维度的顺序。直角坐标系中,
           // 默认把第一个维度映射到 X 轴上,第二个维度映射到 Y 轴上。
           // 如果不指定 dimensions,也可以通过指定 series.encode
           // 完成映射,参见后文。
           dimensions: ['product', '2015', '2016', '2017'],
           source: [
               {product: 'Walnut Brownie', '2015': 43.3, '2016': 85.8, '2017': 
93.7},
               {product: 'Walnut Brownie', '2015': 83.1, '2016': 73.4, '2017': 
55.1},
               {product: 'Walnut Brownie', '2015': 86.4, '2016': 65.2, '2017': 
82.5},
               {product: 'Walnut Brownie', '2015': 72.4, '2016': 53.9, '2017': 
39.1},
               {product: 'Walnut Brownie', '2015': 72.4, '2016': 53.9, '2017': 
39.1}
   
           ]
       },
       xAxis: {type: 'category'},
       yAxis: {},
       series: [
           {type: 'line'},
           {type: 'line'},
           {type: 'line'}
       ]
   };
   
   ### What is expected?
   product 在x轴出现5次
   
   ### What is actually happening?
   实际出现了一次
   所有数据都堆叠在一起了
   
   <!-- This issue is generated by echarts-issue-helper. DO NOT REMOVE -->
   <!-- This issue is in English. 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:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to