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