MajorDivisions – PB Docs 126

MajorDivisions property for PowerScript controls

Controls

grAxis objects in Graph controls

Description

The MajorDivisions property specifies the number of divisions
or ticks on the axis, not counting the origin point.

The default value of 0 means the graph uses a MajorDivision
value optimized for the data and suppresses MinorDivision ticks.

Usage

In a painter

proc.png To specify the number of major divisions on an
axis:

  1. Display the Axis tab page from the graph’s
    Properties view and select the desired axis from the Axis drop-down
    list.

  2. Use the spin control in the MajorDivisions field
    of the Major Divisions group to specify the desired number of divisions.

In scripts

The MajorDivisions property takes an integer specifying the
number of major divisions on an axis.

The following example sets 10 ticks on the major grid of the
Values axis of a graph.


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x