AutoScale (Property)

Applies To:

FactsAxis object, LeftAxis object, RightAxis object, NumericRange object

Description:

Enables a Chart axis scale to be selected between specified minimum and maximum values.

For a NumericRange object, this property enables the calculation of the lower and upper values scale of the data set for a guageautomatically. The scale is recalculated automatically when the data set is processed. The default value is a minimum of 0 and a maximum of 100 equally spaced ranges. To specify a minimum and maximum scale manually, disable this property.

Action:

Read-write, Boolean

Example:

This example shows how to enable auto-scaling on left and right values axis:

ActiveDocument.Sections["Chart"].ValuesAxis.LeftAxis.AutoScale = true
ActiveDocument.Sections["Chart"].ValuesAxis.RightAxis.AutoScale = true.