Sub OnGetDataValue(Sender: Object; Args: IUiChartGetDataValueEventArgs);
Begin
//set of operators
End Sub OnGetDataValue;
Sender - parameter that returns the component that has generated the event.
Args - parameter that enables the user to determine event parameters.
The OnGetDataValue event is used to plot a chart.
NOTE. The event occurs only when the number of graph series is less than or equal to 99.
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: