BorderPen: IGxPen;
The BordenPen property determines parameters of the data series border line.
This property is relevant for the following types of charts: area, bar, pie, mixed, and in some cases, stock charts.
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;
chartPen: IGxPen;
Begin
SelectedSeries:= UiChart1.Chart.SelectedSeries;
SelectedSeries.Add (2);
chartPen := New GxPen.CreateSolid(GxColor.FromName("Green"), 1);
SelectedSeries.BorderPen := chartPen;
End Sub Button1OnClick;
Clicking Button1 highlights the data series borders with a 1-mm thick green line.
See also: