Define the colors used by the ASP.NET chart control

I would like to know what colors are used for a specific palette in an ASP.NET chart control.

I already know that in the chart class there is an enumeration for setting the palette, for example.

myChart.Palette = ChartColorPalette.Berry;

But I would like to know what colors belong to the palette.

Before anyone asks - how do I know, you will know why I need to know the colors, because I want to create my own legend outside the image of the diagram.

I also know that I can set my own colors in DataPoints for the chart, but I would prefer not to implement my own palette.

+3
source share
1 answer

Source: https://habr.com/ru/post/1723859/


All Articles