IChartLabel.Pen

Syntax

Pen: IGxPen;

Description

The Pen property determines parameters of a label line of the index or callout type.

Example

This example assumes that there is the Label object of the IChartLabel type.

Sub Custom;

Var

Label : IChartLabel;

Begin

Label.Type := 1 As ChartLabelType;

Label.Pen := New GxPen.CreateSolid(GxColor.FromName("Blue"), 0.5);

End Sub Custom;

After executing the example the label line will become blue, and its thickness will be 0.5 mm:

See also:

IChartLabel