GroupingRule: ChartSerieGroupRule;
The GroupingRule property determines a series grouping order for the secondary chart. The default value is ChartSerieGroupRule.Position.
NOTE. This property is used together with the IChartCircleExInfo.GroupingValue or IChartCircleExInfo.CustomSerieGroup property.
Executing the example requires a regular report sheet with a chart on it.
Sub My;
Var
C: IChart;
CircleEx: IChartCircleExInfo;
Begin
C := (PrxReport.ActiveReport.ActiveSheet.Table.Objects.Item(0).Extension As IChart);
C.Type := ChartType.SecondaryBars;
CircleEx := C.CircleInfoEx;
CircleEx.GroupingValue := 12;
CircleEx.GroupingRule := ChartSerieGroupRule.Value;
PrxReport.ActiveReport.ActiveSheet.Recalc;
End Sub My;
After executing the example series with the series value less than 12 are grouped for the secondary chart:
See also: