IEaxDrillSerieResult.Serie

Fore Syntax

Serie: IChartSerie;

Fore.NET Syntax

Serie: Prognoz.Platform.Interop.Chart.IChartSerie;

Description

The Serie property returns parameters of a chart series.

Comment

The property returns parameters of the series, for which the IEaxAnalyzer.DrillSerie method has been performed.

Fore Example

Executing the example requires a form containing the Button component named Button1, the UiErAnalyzer component named UiErAnalyzer1 which is a data source for the ChartBox component named ChartBox1. Table of express report set as data source for UiErAnalyzer1 must contain at least one data series. Set for the UiErAnalyzer1 component the Active property  = True.

Add links to the Express and Chart system assembles.

The procedure is a handler of the OnClick event for the Button1 component.

Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Var
    Expr: IEaxAnalyzer;
    Serie: IChartSerie;
    Series: IChartSeries;
    EaxChart: IEaxChart;
    Chart: IChart;
    DrillSerie: IEaxDrillSerieResult;
Begin
    Expr := UiErAnalyzer1.ErAnalyzer;
    EaxChart := Expr.Chart;
    Chart := EaxChart.Chart;
    Series := Chart.Series;
    Serie := Series.Item(0);
    DrillSerie := Expr.DrillSerie(Serie);
    DrillSerie.Serie.Selected := True;
End Sub Button1OnClick;

On clicking the button the series, for which the  IEaxAnalyzer.DrillSerie method has been performed, is selected.

Fore.NET Example

The requirements and result of the Fore.NET Example execution match with those in the Fore Example. Use Fore.NET analogs instead of Fore components.

Imports Prognoz.Platform.Interop.Express;
Imports Prognoz.Platform.Interop.Chart;

Private Sub button1_Click(sender: System.Object; e: System.EventArgs);
Var
    Expr: IEaxAnalyzer;
    Serie: IChartSerie;
    Series: IChartSeries;
    EaxChart: IEaxChart;
    Chart: IChart;
    DrillSerie: IEaxDrillSerieResult;
Begin
    Expr := UiErAnalyzerNet1.ErAnalyzer.ErAnalyzer;
    EaxChart := Expr.Chart;
    Chart := EaxChart.Chart;
    Series := Chart.Series;
    Serie := Series.Item[0];
    DrillSerie := Expr.DrillSerie(Serie);
    DrillSerie.Serie.Selected := True;
End Sub;

See also:

IEaxDrillSerieResult