IChartExternLegend.SymbolSpace

Syntax

SymbolSpace: Double;

Description

The SymbolSpace property determines the distance between the icon and the text for the elements of the chart legend.

Comments

The value is specified in millimeters. The SymbolSpace value is equal to 2 mm by default.

To use the SymbolSpace property, set the SymbolSpaceAuto property to False.

Example

Executing the example requires 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.SymbolSpaceIntervalAuto := False;
    Chart.SymbolSpaceInterval := 5;
End Sub UserProc;

After executing the example the distance between the icon and the text of the external legend elements is changed by 5 mm.

See also:

IChartExternLegend