开发者

Determine the colours used by the ASP.NET Chart control

开发者 https://www.devze.com 2022-12-12 17:02 出处:网络
I\'d like to find out which colours are used for a particular pallette in the ASP.NET Chart control. I already know there is an enum on the Chart class to set the palette, e.g.

I'd like to find out which colours are used for a particular pallette in the ASP.NET Chart control.

I already know there is an enum on the Chart class to set the palette, e.g.

myChart.Palette = ChartColorPalette.Berry;

But I'd like to know which colours be开发者_JAVA技巧long to the palette.

Before anyone asks - as I know you will - the reason I need to know the colours is because I want to create my own legend outside of the chart image.

I also know that I can set my own colours on the DataPoints for the chart, but I'd rather not have to implement my own palette.


Check Setting Microsoft Chart Series Colors and Colors in ASP.NET

0

精彩评论

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

关注公众号