IChartCircleExInfo.PieDistanceCoef

Syntax

PieDistanceCoef: Double;

Description

The PieDistanceCoef property determines the distance from the center of the primary chart to a segment of a merged series group.

Comments

The distance is measured in fractions of radius of the pie chart. Value of this parameter must be within the range [0.0; 1.0].

Example

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.PieDistanceCoef := 0.5;

PrxReport.ActiveReport.ActiveSheet.Recalc;

End Sub My;

After executing the example the distance from the center of the primary chart to the section of merged group of series equals half of the radius of the primary chart:

See also:

IChartCircleExInfo