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/07/02 02:40:24 UTC

[GitHub] [incubator-echarts] zhouxin860114 edited a comment on issue #10773: 饼图的series—> data —> name,当name的值相同时,饼图的颜色是一样的。

zhouxin860114 edited a comment on issue #10773: 饼图的series—> data —> name,当name的值相同时,饼图的颜色是一样的。
URL: https://github.com/apache/incubator-echarts/issues/10773#issuecomment-507493953
 
 
   > 版本为:4.2.1,需要实现的效果是希望显示饼图中每部分的百分比值,定义的name是一个变量,而不是固定写明每一部分代表的名字是什么,所以name的值会有相同的情况存在,我们发现当name相同时,饼图的颜色也是一样的。
   > 效果预览:https://gallery.echartsjs.com/editor.html?c=xBTijRd-kz&v=1
   
   为啥要让 数据的名称 一样呢。。标记 50% 不是应该通过 formatter 设置么

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