For Graph controls

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:

  1. Display the Axis tab page on the graph's Properties view.

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

  3. 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