IChart.UseSignatureHint

Fore Syntax

UseSignatureHint: Boolean;

Fore.NET Syntax

UseSignatureHint: System.Boolean;

Description

The UseSignatureHint property determines whether data labels in the chart must be shown as tooltips.

Comments

Use the HintStringFormat property to determine value of data labels as tooltips.

Use the HintCustomFormat property to determine numeric values format.

Fore Example

Executing the example requires a form, a button named Button1 on the form, the ChartBox and UiChart components, where UiChart is a data source.

Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Var
    Chart: IChart;
Begin
    Chart:= UiChart1.Chart;
    Chart.UseSignatureHint:= True;
    Chart.HintStringFormat:= "%Percent";
End Sub Button1OnClick;

After clicking the Button1 button the chart displays tooltips for data series in the following format: percentage parts.

Fore.NET Example

Executing the example requires a form, a button named Button1 on the form, the ChartBoxNet and UiChartNet components, where UiChartNet is a data source.

Imports Prognoz.Platform.Interop.Metabase;
Imports Prognoz.Platform.Interop.Chart;

...

Private Sub button1_Click(sender: System.Object; e: System.EventArgs);
Var
    Chart: IChart;
Begin
    Chart:= UiChartNet1.ChartUi.Chart;
    Chart.UseSignatureHint:= True;
    Chart.HintStringFormat:= "%Percent";
End Sub;

After clicking the Button1 button the chart displays tooltips for data series in the following format: percentage parts.

See also:

IChart