IChartSelectedSeries.IsPropertyEqual

Fore Syntax

IsPropertyEqual (SerieProperty: ChartSerieProperty): Boolean;

Fore.NET Syntax

IsPropertyEqual[Prognoz.Platform.Interop.Chart.ChartSerieProperty]: System.Boolean;

Parameters

SerieProperty. The series properties.

Description

The IsPropertyEqual property returns the result of verifying whether the property values of all the selected series are identical.

Fore 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.IsPropertyEqual(ChartSerieProperty.DisplayMarker));        
End Sub Button1OnClick;

After executing the example, the console contains the result of verification.

Fore.NET Example

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;
    System.Diagnostics.Debug.WriteLine(SelectedSeries.IsPropertyEqual(ChartSerieProperty.DisplayMarker));

End Sub button1_Click;

After executing the example, the console contains the result of verification.

See also:

IChartSelectedSeries