Returns or sets whether TickMarks are placed on the axis based on the unit intervals, based on number of divisions, or automatically on the object.
Object.TicksSpacing [ = enTicksSpacing ]
The TicksSpacing property syntax has the following parts:
Name |
Type |
Description |
Object |
AAxis |
AAxis object |
enTicksSpacing |
enumAAxisTicksSpacing |
An integer specifying whether TickMarks are placed on the axis based on the unit intervals, based on number of divisions, or automatically on the object. |
enumAAxisTicksSpacing can be one of the following:
Name |
Value |
Description |
aaxsTicksSpacingAuto |
0 * |
Automatic: The TickMarks are placed on the axis automatically. |
aaxsTicksSpacingDivisions |
1 |
Divisions: The TickMarks are placed on the axis base on the number of divisions. |
aaxsTicksSpacingIntervals |
2 |
Intervals: The TickMarks are placed on the axis base on the unit intervals. |
The following statement changes the AAxis TicksSpacing to be based on the number of divisions:
axs1.TicksSpacing=aaxsTickMarkSpacingDivisions
TickOutside, TicksAboveRight, TicksBelowLeft, TicksInside, TicksMajor, TicksMajorDivisions, TicksMajorGrid, TicksMajorInterval, TicksMinor