DisplayEveryNLabels – PB Docs 2021

DisplayEveryNLabels

property for PowerScript controls

Applies to

grAxis objects of Graph controls

Description

DisplayEveryNLabels is a property of the grAxis objects that can be
part of graph controls. There are three grAxis objects: Category, Series,
and Values.

This property specifies which major divisions to label on the
selected axis in the graph. For example, a value of 2 means to label every
other tick mark. Use 0 to let the graph select the optimum number of
labels to use.

Usage

In a painter

To specify the number of major divisions to label:

  1. Display the Axis tab page in the graph’s Properties view.

  2. Select the desired Axis from the Axis drop-down list.

  3. Use the spin control to select a number from 0 to 100 in the
    DisplayEveryNLables field.

In scripts

The DisplayEveryNLabels property takes an integer. The following
example sets labeling at every 10 tick marks for the Series Axis:


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