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 the IChartCircleExInfo.GroupingRule property.
Executing the example requires a regular report sheet with a chart on it. The chart must contain three 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 chart series are merged into a group excluding the second series:
See also: