Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

MajorDivisions – PB Docs 2019 – PowerBuilder Library

MajorDivisions – PB Docs 2019

MajorDivisions

property for PowerScript controls

Applies to

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

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
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x