IChartLabel.DisplayBorder

Syntax

DisplayBorder: Boolean;

Description

The DisplayRegion property determines whether the borders of data labels are shown.

Comments

If this property is set to True, the label border is displayed; if this property is set to False, the label border is not displayed.

Example

Executing the example requires a regular report with a chart 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 and Drawing system assemblies.

Sub UserProc;
Var
    Chart: IChart;
Begin
    Chart := (PrxReport.ActiveReport.ActiveSheet As IPrxTable).TabSheet.Objects.Item(0).Extension As IChart;
    Chart.Series.DisplayLabels := True;
    Chart.Series.DefaultLabel.DisplayShadow := True;
    Chart.Series.DefaultLabel.DisplayBorder := False;
End Sub UserProc;

After executing the example, the label is displayed with a shadow, and the label borders are not displayed.

See also:

IChartLabel