Count: Integer;
The Count property returns the number of chart series.
This example assumes that there is the Chart object of the IChart type.
Sub Count;
Var
Chart: IChart;
Count: Integer;
Begin
Count := Chart.Series.Count;
End Sub Count;
After executing the example the Count variable contains the number of chart series.
See also: