TCustomAxisPanel.GetFreeSeriesColor

TCustomAxisPanel.GetFreeSeriesColor
TCustomAxisPanel

function GetFreeSeriesColor(CheckBackground: Boolean; Const Series: TChartSeries): TColor;

Unit
TeEngine

Description
The GetFreeSeriesColor function returns a color from the default color palette not used by any Series. The CheckBackGround parameter controls if the returned color should or shouldn't be the Chart BackColor color. This function returns a Color which is not used by any Series in the Chart.