IChartExternLegend.ColInterval

Syntax

ColInterval: Double;

Description

The ColInterval property determines the distance between columns of the chart legend.

Comments

The value is specified in millimeters.

To use the RowInterval property, set the ColIntervalAuto property to False.

Example

Executing the example, create a regular report with a chart and an external legend on the report sheet. A unit is added to the report and the UserProc procedure is called from this unit using the hyperlink. The inspector of unit assemblies must contain links to the Chart, Report, Tab system assemblies.

Sub UserProc;
Var
    Chart: IChartExternLegend;
Begin
    Chart := (PrxReport.ActiveReport.ActiveSheet As IPrxTable).TabSheet.Objects.Item(1As IChartExternLegend;
    Chart.ColIntervalAuto := False;
    Chart.ColInterval := 10;
End Sub UserProc;

After executing the example the distance between columns of the external legend is changed by 10 mm.

See also:

IChartExternLegend