IUiChartGetDataValueEventArgs.Value2

Syntax

Value2: Double;

Description

The Value property is used to specify source data for the OX axis if the chart type is scatter.

Example

A scattered chart must be used in the example.

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

Begin

Args.Result := True;

Args.Value := Math.Rand;

Args.Value2 := Args.PointIndex + 2;

End Sub UiChartOnGetDataValue;

After executing the example a chart is plotted using the specified number of series and points.

See also:

IUiChartGetDataValueEventArgs | UiChart.OnGetDataValue