TCustomChart.ColorPaletteIndex

TCustomChart.ColorPaletteIndex
TCustomChart

property ColorPaletteIndex: Integer;

Unit
Chart

Description
Gets or sets the color palette that is currently being used by series to obtain colors.

Default value is 0, the default TeeChart color palette.

This index points to an array of colors inside the ColorPalettes global array.

The Color palette can be changed by modifying this property or by using the ColorPalettes ApplyPalette method.

New color palettes can be added to a chart using the ColorPalettes ApplyPalette overload that accepts an array of colors as parameter.