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