Can't find what you're looking for?

Contact us or post in our forums and we'll help you find an answer.

Set a Custom Color Palette in FlexChart


This article will cover how to add a custom color palette for FlexChart


  1.    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:

flexChart1.CustomPalette = new SolidBrush[]
            new SolidBrush(Color.Red),
            new SolidBrush(Color.Yellow),
            new SolidBrush(Color.LightSkyBlue),

Get the Latest Version of C1
Download the Free Trial Now