You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@echarts.apache.org by GitBox <gi...@apache.org> on 2019/06/28 01:13:20 UTC

[GitHub] [incubator-echarts] Huangqinyi opened a new issue #10774: 饼图的series—> data —> name,当name的值相同时,饼图的颜色是一样的。

Huangqinyi opened a new issue #10774: 饼图的series—> data —> name,当name的值相同时,饼图的颜色是一样的。
URL: https://github.com/apache/incubator-echarts/issues/10774
 
 
   ### Version
   4.2.1
   
   ### Reproduction link
   [https://gallery.echartsjs.com/editor.html?c=xBTijRd-kz&v=1](https://gallery.echartsjs.com/editor.html?c=xBTijRd-kz&v=1)
   
   ### Steps to reproduce
   需要实现的效果是希望显示饼图中每部分的百分比值,定义的name是一个变量,而不是固定写明每一部分代表的名字是什么,所以name的值会有相同的情况存在,我们发现当name相同时,饼图的颜色也是一样的。
   
   ### What is expected?
   当name的值相同时,饼图的颜色也能够区分
   
   ### What is actually happening?
   当name的值相同时,饼图的颜色是一样的。
   
   <!-- 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: dev-unsubscribe@echarts.apache.org
For additional commands, e-mail: dev-help@echarts.apache.org