IChartSelectedSeries.IsEmpty

Syntax

IsEmpty: Boolean;

Description

The IsEmpty property returns whether the elements are present in the collection.

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; 
    Debug.WriteLine(SelectedSeries.IsEmpty);        
End Sub Button1OnClick;

After executing the example. the console displays the result that shows whether elements are present or absent in the collection.

See also:

IChartSelectedSeries