UiChart.OnGetPointName

Syntax

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

Begin

//set of operators

End Sub OnGetPointName;

Parameters

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

The Args parameter allows to define event parameters.

Description

The OnGetPointName event enables to determine names of points on the graph. This event occurs when a chart is drawn.

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