Distance: Double;
The Distance property determines a distance between the primary and the secondary chart based on the value of the radius of the primary chart. The value of this parameter must be within the range [0,0; 2,0].
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.Distance:=0.5;
PrxReport.ActiveReport.ActiveSheet.Recalc;
End Sub My;
After executing the example the distance between the secondary and the primary chart is equal to half of the radius of the primary chart:
See also: