IChartLabel.BorderPen

Syntax

BorderPen: IGxPen;

Description

The BordenPen property determines parameters of the label border line.

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;
   BPen: IGxPen;
 Begin
    Chart := (PrxReport.ActiveReport.ActiveSheet As IPrxTable).TabSheet.Objects.Item(0).Extension As IChart;
    Chart.Series.DisplayLabels := True;
    BPen := New GxPen.CreateSolid(New GxColor.CreateARGB(150,0,0,150),1.01);
    Chart.Series.DefaultLabel.BorderPen := Bpen;
 End Sub UserProc;

After executing the example the labels have the blue border.

See also:

IChartLabel