SecondaryRadius: Double;
The SecondaryRadius property determines the size of a secondary chart. The values of this property must be within the range [0,05; 2,0].
If the secondary chart is a pie chart, the SecondaryRadius property specifies the radius of the secondary chart relative to the radius of the master chart.
If the secondary chart is a bar chart, then SecondaryRadius proeprty determines the height of the secondary chart relative to the diameter of the primary.
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.SecondaryRadius := 1;
PrxReport.ActiveReport.ActiveSheet.Recalc;
End Sub My;
After executing the example the height of the secondary chart equals diameter of the master chart:
See also: