IUiChartEventArgs.PointIndex

Syntax

PointIndex: Integer;

Description

The PointIndex property returns the point number.

Example

Below is given an The property use in the UiChartOnGetDataValue event.

Sub UiChartOnGetDataValue(Sender: Object; Args: IUiChartGetDataValueEventArgs);

Begin

Args.Result := True;

Args.Value := Args.PointIndex + Args.SerieIndex;

End Sub UiChartOnGetDataValue;

After executing the example a graph consisting of straight lines is built. The number and length of the lines depend on the specified number of series and points on the graph.

See also:

IUiChartEventArgs

UiChart.OnGetDataValue