Applies to
grAxis objects in Graph controls
Description
The MajorTic property specifies how ticks overlap the axis for the major grid. Ticks can be placed on the inside of the axis line, on the outside, or straddling it; or there can be no ticks visible.
Usage
In a painter
To specify the type of major tick marks:
-
Display the Axis tab page of the control's Properties view and select the desired axis from the Axis drop-down list.
-
Select the desired type of tick mark from the MajorTick drop-down list box in the Major Division group.
In scripts
The MajorTic property takes a value of the grTicType enumerated datatype.
The following line sets ticks on the major grid to straddle the grid:
gr_1.Values.MajorTic = Straddle!