MinorDivisions
property for PowerScript controls
Applies to
grAxis objects in Graph controls
Description
The MinorDivisions property specifies the number of spaces between
major ticks. To see minor ticks, specify a value of two or greater because
the last minor tick is overlaid by the next major tick.
The default value of 0 in the MajorDivisions field means the graph
uses a MajorDivision value optimized for the data and suppresses
MinorDivision ticks.
Usage
In a painter
To specify the number of minor divisions on an axis:
-
Display the Axis tab page from the graph’s Properties view and
select the desired axis from the Axis drop-down list. -
Use the spin control in the MinorDivisions field of the Minor
Divisions group to specify the desired number of divisions.
In scripts
The MinorDivisions property takes an integer specifying the number
of minor divisions on an axis.
The following example sets 10 ticks on the minor grid of the Values
axis of a graph.
|
1 |
gr_1.Values.MinorDivisions = 10 |