Remove (Index: Integer);
Index. The data series index in the collection of selected series.
The Remove method deselects a series in the collection of selected data series at the specified index.
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.Remove(1);
End Sub Button1OnClick;
Clicking Button1 deselects the second data series.
See also: