TCustom3DPaletteSeries.AddPalette

TCustom3DPaletteSeries.AddPalette
TCustom3DPaletteSeries

function AddPalette(Const AValue: TChartValue; AColor: TColor): Integer; overload;

Unit
TeeSurfa

Description
This method adds a new color Palette entry to the end of Palette list. Add returns the position of the entry in the Palette list. The Color parameter will be used to fill polygons with Y values up to the Value parameter. Custom color palettes can be created using this method. The UsePalette property should be True to use the palette entries.