BorderPen: IGxPen;
The BorderPen property determines outline parameters.
This example assumes that there is the Chart object of the IChart type.
Sub BorderPen;
Var
Chart : IChart;
BPen : IGxPen;
Begin
BPen := New GxPen.CreateSolid(New GxColor.CreateARGB(255,0,0,255),1.02);
Chart.ChartArea.BorderPen := BPen;
End Sub BorderPen;
After executing the example the chart area is outlined with blue line of the specified thickness.
See also: