Value: Double;
The Value property is used to determine source data for the OY axis.
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: