
All Units All Classes Properties, Methods and Events |
ColorPalettes variable
Var ColorPalettes;
Unit
Chart
Description
Global Variable of type TColorPalettes.
This variable stores all available color palettes.
Color palettes are used by chart themes, but can also be used stand-alone.
Example:
TColorPalettes.ApplyPalette( Chart1, 3 ) ; // set the third color palette in the list.
TColorPalettes.ApplyPalette( Chart1, [ clGreen, clBlue, clRed ] ) ; // set a custom color palette.
After a palette has been applied to a Chart, the Chart remembers the index of the palette at ColorPaletteIndex property.
Send us Help Feedback. Copyright 1995-2013 © by Steema Software. All Rights Reserved.