CustomSerieGroup: Array;
The CustomSerieGroup property determines a custom group of series, which are included in a series merge. This property is effective only when the IChartCircleExInfo.GroupingRule property is set to ChartSerieGroupRule.Custom.
NOTE. This property is used together with IChartCircleExInfo.GroupingRule.
To execute this example you need a sheet of as regular report and a chart positioned on this sheet. The chart should contain four or more series.
Sub My;
Var
C: IChart;
CircleEx: IChartCircleExInfo;
A: Array[3] Of Integer;
Begin
C := (PrxReport.ActiveReport.ActiveSheet.Table.Objects.Item(0).Extension As IChart);
C.Type := ChartType.SecondaryBars;
CircleEx := C.CircleInfoEx;
A[0] := 0;
A[1] := 2;
A[2] := 3;
CircleEx.CustomSerieGroup := A;
CircleEx.GroupingRule := ChartSerieGroupRule.Custom;
PrxReport.ActiveReport.ActiveSheet.Recalc;
End Sub My;
After executing the example all series of the chart are combined into a group excluding the second series:
See also: