AutoScale property for PowerScript controls
Controls
grAxis objects in Graph controls
Description
AutoScale is a property of the Category and Value grAxis objects
that are part of graph controls. There are three grAxis objects:
Category, Series, and Values.
Autoscale specifies whether or not to scale the axis of the
Graph automatically to the minimum and maximum values for the data.
Usage
In a painter
To enable autoscaling:
-
Display the Axis tab page on the graph’s
Properties view. -
Select the desired Axis from the Axis drop-down
list. -
Select the AutoScale check box, if it is enabled.
AutoScale is enabled only if it is applicable to the selected
graph type and axis.
In scripts
The AutoScale property takes a boolean value.
The following line turns off autoscaling for the Values axis
in the Graph gr_emp.
1 |
gr_emp.Values.AutoScale = FALSE |
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments