开发者

ASP.NET Chart: How to specify color for pie chart?

开发者 https://www.devze.com 2023-03-13 18:29 出处:网络
I have a pie chart and开发者_如何学Python want to specify an exact color for a particular segment of the pie chart.

I have a pie chart and开发者_如何学Python want to specify an exact color for a particular segment of the pie chart.

Which attribute do I use to specify the color dynamically? Thanks.


The color property hangs off the series object.

Chart.Series["xxx"].Color = Color.Red;
0

精彩评论

暂无评论...
验证码 换一张
取 消