UiChart.OnGetPointName

Syntax

Sub OnGetPointName(Sender: Object; Args: IUiChartPointNameEventArgs);

Begin

//set of operators

End Sub OnGetPointName;

Parameters

Sender - parameter that returns the component that has generated the event.

Args - parameter that enables the user to determine event parameters.

Description

The OnGetPointName event enables the user to determine names of points on a graph. The event occurs when a graph is rendered.

Example

This example assumes that there is the Chart object of the IChart type.

Sub UiChartOnGetPointName(Sender: Object; Args: IUiChartPointNameEventArgs);

Begin

Args.Result := "point " + Args.PointIndex.ToString As String;

End Sub UiChartOnGetPointName;

After executing the example names of graph points are changed: Point 0, point 1, and so on.

See also:

UiChart