TCustomAxisPanel.GetFreeSeriesColor
TCustomAxisPanel
function GetFreeSeriesColor(CheckBackground: Boolean; Const Series: TChartSeries): TColor;
Unit
TeEngine
Description
The GetFreeSeriesColor function returns a color from the default color TColorPalettes not used by any Series. The CheckBackGround parameter controls if the returned color should or shouldn't be the Chart TCustomChart.BackColor color. This function returns a Color which is not used by any Series in the Chart.