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 2020/11/25 02:14:56 UTC

[GitHub] [incubator-echarts] woowgaga opened a new issue #13690: 当图例包含空和数值时,饼图颜色错误

woowgaga opened a new issue #13690:
URL: https://github.com/apache/incubator-echarts/issues/13690


   ### Version
   5.0.0
   
   ### Reproduction link
   [https://www.makeapie.com/editor.html?c=xeDm-5oFnq&comment=0](https://www.makeapie.com/editor.html?c=xeDm-5oFnq&comment=0)
   
   ### Steps to reproduce
   option= {
   			
   			"legend": {
   				"type": "scroll",
   				"data": ["", "0", "C"],
   				"orient": "horizontal",
   				"x": "center",
   			},
   			"series": [{
   				"center": ["50%", "50%"],
   				"radius": ["0", "75%"],
   			
   				"name": "PurMoney",
   				"type": "pie",
   				"orient": null,
   				"initialTreeDepth": 30,
   				"data": [{
   					"value": 500.000000,
   					"name": ""
   				}, {
   					"value": 400.000000,
   					"name": "0"
   				}, {
   					"value": 1000.000000,
   					"name": "1"
   				}]
   			}],
   		
   			"color": ["#00B2F2", "#FFC000", "#00B353"],
   }
   
   ### What is expected?
   希望饼图颜色能根据color设置的颜色绘制
   
   ### What is actually happening?
   颜色没有根据color设置的颜色进行绘制
   
   <!-- This issue is generated by echarts-issue-helper. DO NOT REMOVE -->
   <!-- This issue is in English. 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



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org