TCustomAxisPanel.SeriesList
TCustomAxisPanel
property SeriesList: TChartSeriesList;
Unit
TeEngine
Description
Run-time only. The SeriesList property is an array property that contains a list of pointers to all Series linked to a TChart component.
You DO NOT NEED to use this property to traverse all Series for specific processing:
for t:= 0 to Chart1.SeriesCount -1 do
with Chart1.Series[ t ] do
begin
SeriesColor := clRed ;
end;
You would NEED this property to, for example, change the Series ordering at run-time. This allows control of Series Z Order positioning:
Chart1.SeriesList[ 0 ] := MySeries2 ;
Chart1.SeriesList[ 1 ] := MySeries1 ;
Chart1.SeriesList[ 2 ] := MySeries3 ;
Warning: Never FREE or REMOVE SeriesList elements. Use the Series.Free to remove it or use the Series.TCustomChartElement.Active property to disable it.