Applies to
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.
gr_emp.Values.AutoScale = FALSE