SelectAll (IncludeFixed: Boolean; IncludeTrends: Boolean);
SelectAll(System.Boolean,System.Boolean);
IncludeFixed. The series that include fixed dimensions.
IncludeTrends. The series that include the trend lines.
The SelectAll method selects all the data series that correspond to the specified parameters.
Executing the example requires a form, the Button1 button located on this form, the ChartBox component and UiChart component used as a data source.
Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Var
SelectedSeries: IChartSelectedSeries;
Begin
SelectedSeries:= UiChart1.Chart.SelectedSeries;
SelectedSeries.SelectAll(True, True);
End Sub Button1OnClick;
After executing the example, the data series that correspond to the specified parameters are selected.
Executing the example requires a form, the Button1 button located on this form, the ChartBoxNet component and UiChartNet component used as a data source.
Imports Prognoz.Platform.Forms.Net;
Imports Prognoz.Platform.Interop.Metabase;
Imports Prognoz.Platform.Interop.Chart;
...
Private Sub button1_Click(sender: System.Object; e: System.EventArgs);
Var
SelectedSeries: IChartSelectedSeries;
Begin
SelectedSeries:= UiChartNet1.ChartUi.Chart.SelectedSeries;
SelectedSeries.SelectAll(True, True);
End Sub;
After executing the example, the data series that correspond to the specified parameters are selected.
See also: