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 2021/02/27 06:48:47 UTC

[GitHub] [echarts] anjing0524 opened a new issue #14367: dataset 与 series 表现不一致

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:
users@infra.apache.org



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


[GitHub] [echarts] anjing0524 commented on issue #14367: dataset 与 series 表现不一致

Posted by GitBox <gi...@apache.org>.
anjing0524 commented on issue #14367:
URL: https://github.com/apache/echarts/issues/14367#issuecomment-787035404


   ![截屏2021-02-27 下午4 22 37](https://user-images.githubusercontent.com/17792296/109381901-09787f80-7918-11eb-9fa8-8aeea51a4397.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



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


[GitHub] [echarts] echarts-bot[bot] commented on issue #14367: dataset 与 series 表现不一致

Posted by GitBox <gi...@apache.org>.
echarts-bot[bot] commented on issue #14367:
URL: https://github.com/apache/echarts/issues/14367#issuecomment-787016602






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



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