ISeries.Count
ISeries
property Count: Integer;
Type Library
TeeChartx
Description
This property returns the number of points in the Series.
Count Example
You can, for example, use this value to iterate:
Delphi
With TChart1.Series[ 0 ] do
begin
for t := 0 to Count - 1 do
if YValues.Value[t] > 50 then
PointColor [t] := clRed ;
end;
Or simply count the points in the Series...
Visual Basic
MsgBox TChart1.Series(0).Count