IChartSerieBase.LinePen

Syntax

LinePen: IGxPen;

Description

The LinePen property determines parameters (color, thickness) for a line of a data series graph.

Comments

Series line changes are displayed only in the following charts: linear, radar, scatter, stock and combined.

Example

This example requires an existing Serie object of the IChartSerie type.

Sub LinePS;
Var
    Series: IChartSerie;
    LPen : IGxPen;
Begin
    LPen := New GxPen.CreateSolid(New GxColor.CreateARGB(255,0,0,255),1.00);
    Series.LinePen := LPen;
End Sub LineS;

After executing the example a series line in a graph is displayed in blue with the thickness of 1 point.

See also:

IChartSerieBase