IChartSelectedSeries.LinePen

Syntax

LinePen: IGxPen;

Description

The LinePen property determines parameters for a line of selected chart data series. Changes in the series line are displayed only for the following chart types: line, radar, scatter, stock and mixed.

Example

Executing the example requires a form, the Button1 button located on this form, the ChartBox component and UiChart component used as a data source.

Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);

Var
    SelectedSeries: IChartSelectedSeries;
    pen: IGxPen;        
Begin
    SelectedSeries:= UiChart1.Chart.SelectedSeries;        
    SelectedSeries.LinePen:= New GxPen.CreateSolid(New GxColor.CreateARGB(25500255), 1.00);
    SelectedSeries.SelectAll(TrueTrue);
End Sub Button1OnClick;

After executing the example, the lines of the selected data series are displayed in blue with the thickness of 1 mm.

See also:

IChartSelectedSeries