AutoScale Property

AutoScale returns or sets the automatic scaling state of an axis. It has a Boolean value. When it is set to true, the automatic scaling of axes is on.

Syntax

object.AutoScale

object. AutoScale = AutoScale

Parameter

Type

Description

AutoScale

Boolean

required

Example 1

This example demonstrates how to return whether or not an axis is automatically scaled.

Debug .Print Axis.AutoScale

Example 2

This example demonstrates how to set an axis to be automatically scaled.

Axis.AutoScale = True

Used by: Axis object