Background:
This article will cover how to add a custom color palette for FlexChart
Solution:
Set the FlexChart's CustomPalette property to a new Solid Brush
flexChart1.CustomPalette = new SolidBrush[]
2. Add the colors that you want to the Custom Palette
{
new SolidBrush(Color.Red),
new SolidBrush(Color.Yellow),
new SolidBrush(Color.LightSkyBlue),
}
3. Go into the properties of the FlexChart and set the Palette property to Custom.
Here is what it will look like when all put together:
|
Hunter Haaf