UiChart.OnGetSerieName

Syntax

Sub OnGetSerieName(Sender: Object; Args: IUiChartSerieNameEventArgs);

Begin

//set of operators

End Sub OnGetSerieName;

Parameters

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

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

Description

The OnGetSerieName event enables the user to determine series names. The event occurs when a graph is rendered.

Example

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

Sub UiChartOnGetSerieName(Sender: Object; Args: IUiChartSerieNameEventArgs);

Begin

Args.Result := "data series " + Args.SerieIndex.ToString As String;

End Sub UiChartOnGetSerieName;

After executing the example names of graph series are changed: data series 0, data series 1, and so on.

See also:

UiChart