TickPen: IGxPen;
The TickPen property determines parameters of the pen used to draw tick marks on an axis.
This example assumes that there is the ChartAxis object of the IChartAxis type.
Sub TickPen;
Var
ChartAxis : IChartAxis;
TPen : IGxPen;
Begin
TPen := New GxPen.CreateSolid(New GxColor.CreateARGB(255,0,0,255),1.00);
ChartAxis.TickPen := TPen;
End Sub TickPen;
After executing the example the scale marks of the axis are displayed in blue and have the specified thickness.
See also: