PointIndex: Integer;
The PointIndex property returns point number.
Sub UiChartOnGetPointName(Sender: Object; Args: IUiChartPointNameEventArgs);
Begin
Args.Result := "point " + Args.PointIndex.ToString;
End Sub UiChartOnGetPointName;
After executing the example names of graph points are changed: point 0, point 1, and so on.
See also: