biu0w0 opened a new issue #10048: SVG 模式渲染有 NULL 值曲线,无法显示填充背景
URL: https://github.com/apache/incubator-echarts/issues/10048
 
 
   ### Version
   4.2.1-rc1
   
   ### Reproduction link
   
[https://codepen.io/anon/pen/zbKJJE?editors=0010](https://codepen.io/anon/pen/zbKJJE?editors=0010)
   
   ### Steps to reproduce
   1/  使用 SVG 渲染模式;
   
   2/  输入 Line 型数据,并为曲线设置 areaStyle.color;
   
   3/  将数据第 1 个值改为 null 或 "-";
   
   4/  此时曲线填充背景消失。
   
   ### What is expected?
   SVG 模式下,应兼容有 NULL 值曲线。
   
   ### What is actually happening?
   SVG 模式下,NULL 值会影响曲线填充渲染。
   
   ---
   1/  曲线数据中第一个值为 null,则曲线背景完全消失;
   
   2/  曲线非首值为 null 时,可以看到曲线背景,但 console 有报错。
   
   <!-- 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:
[email protected]


With regards,
Apache Git Services

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

Reply via email to