IChartSelectedSeries.Clear

Syntax

Clear;

Description

The Clear method deselects all the selected series of the chart.

Example

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.Clear;
End Sub Button1OnClick;

Clicking Button1 removes highlighting from the selected series.

See also:

IChartSelectedSeries