TeEngine.TChartSeriesList
 
 
 


TChartSeriesList
Hierarchy     Properties     Methods     Events     

Unit
TeEngine

Description
TChartSeriesList is a non-visible component. Maintains a list of series included in TChart.
You can double-click the Chart
TCustomAxisPanel.Series property to access to the editor dialog.

Using the Chart.Series property is like using a standard array.
You can refer to a specific series by number: (Index starts at zero)

Chart1.Series[3].Title:='Boston Sales';

As Series property is the default property of TChart component, the above code can be simplified to:

Chart1[3].Title:='Boston Sales';

That can be useful when you do not have access to a
TChartSeries or when you are doing generic code:

Example:

for t:=0 to Chart1.SeriesCount-1 do
if Chart1[t] is TLineSeries then
(Chart1[t] as TLineSeries).LinePen.Width:=3;




Send us Help Feedback. Copyright 1995-2024 © by Steema Software. All Rights Reserved.