Serie: IChartSerie;
The Serie property returns parameters of a chart series.
This property returns parameters of the series, for which the IEaxAnalyzeCore.DrillSerie method was executed.
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 the Active property to True for the UiErAnalyzer1 component.
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;
Clicking the button select the series, for which the IEaxAnalyzeCore.DrillSerie method was executed.
See also: