IChartCircleExInfo.GroupingRule

Syntax

GroupingRule: ChartSerieGroupRule;

Description

The GroupingRule property determines the series grouping order for the secondary chart. Default value is ChartSerieGroupRule.Position.

NOTE. This property is used together with the IChartCircleExInfo.GroupingValue or IChartCircleExInfo.CustomSerieGroup property.

Example

This 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:

IChartCircleExInfo