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/11/22 09:57:42 UTC

[GitHub] [incubator-echarts] csdoker opened a new issue #11703: 折线图出现严重BUG,当用二维数据的时候,数据和图形展示完全对不上

csdoker opened a new issue #11703: 折线图出现严重BUG,当用二维数据的时候,数据和图形展示完全对不上
URL: https://github.com/apache/incubator-echarts/issues/11703
 
 
   ### Version
   4.5.0
   
   ### Steps to reproduce
   https://www.echartsjs.com/examples/zh/editor.html?c=line-stack
   
   数据用这个:
   option = { title: { text: '折线图堆叠' }, tooltip: { trigger: 'axis' }, legend: { data:['邮件营销','联盟广告'] }, grid: { left: '3%', right: '4%', bottom: '3%', containLabel: true }, toolbox: { feature: { saveAsImage: {} } }, xAxis: { type: 'category', boundaryGap: false, data: ["2019-11-01", "2019-11-02", "2019-11-03", "2019-11-04", "2019-11-05", "2019-11-06", "2019-11-07", "2019-11-08", "2019-11-09", "2019-11-10", "2019-11-11", "2019-11-12", "2019-11-13", "2019-11-14", "2019-11-15", "2019-11-16", "2019-11-17", "2019-11-18", "2019-11-19", "2019-11-20", "2019-11-21", "2019-11-22", "2019-11-23", "2019-11-24", "2019-11-25", "2019-11-26", "2019-11-27", "2019-11-28", "2019-11-29", "2019-11-30"] }, yAxis: { type: 'value' }, series: [ { name:'邮件营销', type:'line', stack: '总量', data:[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 11, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] }, { name:'联盟广告', type:'line', stack: '总量', data:[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 2, 0, 1, 1, 4, 0, 0, 0, 0, 0, 0, 0, 0] }, ] };
   如下图所示,渲染出来的图形和数据完全对不上:
   https://i.loli.net/2019/11/22/UQq5npPVwXd6s1h.jpg
   
   ### 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