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/10/25 06:05:31 UTC

[GitHub] [incubator-echarts] Ling310 opened a new issue #11487: 使用dataset(encode)模式编码数据并且指定主题时,对option.color的响应方式有误

Ling310 opened a new issue #11487: 使用dataset(encode)模式编码数据并且指定主题时,对option.color的响应方式有误
URL: https://github.com/apache/incubator-echarts/issues/11487
 
 
   ### Version
   4.4.0
   
   ### Reproduction link
   [https://gallery.echartsjs.com/editor.html?c=xF_yIKxc8&v=1](https://gallery.echartsjs.com/editor.html?c=xF_yIKxc8&v=1)
   
   ### Steps to reproduce
   1.在option中使用dataset和encode的模式指定data;
   2.option.color.length < series.length
   3.切换主题
   可以发现,series没有循环读取option.color的颜色,并使用主题色进行补充。对比普通series.data的颜色指定方式,可以确定二者的颜色取值逻辑未统一。
   
   ### What is expected?
   encode模式下可以按照series.data这种普通模式取option.color中的颜色
   
   ### What is actually happening?
   没有循环读取option.color
   
   <!-- 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