IUiChartGetDataValueEventArgs.Value

Syntax

Value: Double;

Description

The Value property is used to determine source data for the OY axis.

Example

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

Begin

Args.Result := True;

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

End Sub UiChartOnGetDataValue;

After executing the example, a chart 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:

IUiChartGetDataValueEventArgs | UiChart.OnGetDataValue