IUiChartEventArgs.SerieIndex

Syntax

SerieIndex: Integer;

Description

The SerieIndex property returns a chart series 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