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 this example requires a form, a button named Button1 positioned on this 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, the chart shows tooltips for data series in the following format: percentage shares.

Fore.NET Example

Executing this example requires a form, a button named Button1 positioned on this form, as well as 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, the chart shows tooltips for data series in the following format: percentage shares.

See also:

IChart