TickPen: IGxPen;
The TickPen property determines parameters of the pen used for drawing axis tick marks.
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 tick marks of the axis are displayed in blue and have the specified thickness.
See also: