UiChart.OnGetToolTip

Syntax

Sub OnGetToolTip(Sender: Object; Args: IUiChartGetTextEventArgs);

Begin

//set of operators

End Sub OnGetToolTip;

Parameters

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

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

Description

The OnGetToolTip event determines parameters of tooltips on chart points; tooltips are displayed on mouseover.

Example

Sub UiChartOnGetToolTip(Sender: Object; Args: IUiChartGetTextEventArgs);

Begin

Args.Result := True;

Args.Text := Args.SerieIndex.ToString + #13 + #10 + Args.PointIndex.ToString;

End Sub UiChart1OnGetToolTip;

After executing the example a tooltip is displayed on mouseover. The first line of the tooltip displays series number and the second line displays point number.

See also:

UiChart