ICustom3DPaletteSeries.GetSurfacePaletteColor
ICustom3DPaletteSeries
function GetSurfacePaletteColor(Y: Double): OLE_COLOR;
Type Library
TeeChartx
Description
The GetSurfacePaletteColor function returns the color that corresponds to a given Y value. The Palette is used to lookup the color intervals. This function can be use to draw Surface color legends.
Example [Visual Basic]:
Form1.Canvas.Pen.Color = TChart1.Series(0).asSurface.GetSurfacePaletteColor 1234.56