IsConnectingLinesVisible: Boolean;
IsConnectingLinesVisible: boolean;
The IsConnectingLinesVisible property determines whether connecting lines of chart columns are displayed.
The property is set to False by default.
Executing the example requires the Button component with the Button1 identifier and an express report with the EXPRESS_REPORT identifier.
Add links to the Chart, Express and Metabase system assemblies.
Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Var
Chart: IChart;
MB: IMetabase;
Eax: IEaxAnalyzer;
Begin
//Connect to repository
MB := MetabaseClass.Active;
//Get express report
Eax := MB.ItemById("EXPRESS_REPORT").Edit As IEaxAnalyzer;
//Get chart
Chart := Eax.Chart As IChart;
//Determine whether connecting lines are displayed
Chart.IsConnectingLinesVisible := True
End Sub Button1OnClick;
After executing the example, after the button is clicked, connecting lines are displayed in the express report chart.
Imports Prognoz.Platform.Interop.Chart;
Imports Prognoz.Platform.Interop.Express;
Imports Prognoz.Platform.Interop.Metabase;
Private Sub button1_Click(sender: System.Object; e: System.EventArgs);
Var
Chart: IChart;
MB: IMetabase;
Eax: IEaxAnalyzer;
Begin
//Connect to repository
MB := Self.Metabase;
//Get express report
Eax := MB.ItemById["EXPRESS_REPORT"].Edit() As IEaxAnalyzer;
//Get chart
Chart := Eax.Chart As IChart;
//Determine whether connecting lines are displayed
Chart.IsConnectingLinesVisible := True;
End Sub;
See also: