IChart.EnableHyperlinks

Syntax

EnableHyperlinks: Boolean;

Fore.NET Syntax

EnableHyperlinks: System.Boolean;

Description

The EnableHyperlinks property determines whether chart data series can be displayed as hyperlinks.

Comments

The property has the following values:

Fore Example

Executing the example requires a form with a button named Button1 on the form, the ChartBox component and the UiChart component that is a data source.

Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Var
    Chart: IChart;    
Begin
    Chart:= UiChart1.Chart;
    Chart.InteractiveMode := ChartInteractiveMode.Hyperlinks;
    Chart.EnableHyperlinks := True;
End Sub Button1OnClick;

After clicking Button1 button, data series function as hyperlinks.

Fore.NET Example

Executing the example requires a form with a button named Button1 on the form, the ChartBoxNet component and the UiChartNet component that 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.InteractiveMode := ChartInteractiveMode.cimHyperlinks;
    Chart.EnableHyperlinks := True;
End Sub;

After clicking Button1, the data series function as hypelinks.

See also:

IChart