AdjustableScale (Property)

Applies To:

ValuesAxis object

Description:

Enables the calculation of the minimum / maximum Y range based on the first two thousand bars. As you scroll through this range (moving to the right [X] or back [Z]}, or if any bar is above the maximum or below the minimum, the Y scale is expanded to all bars.

Action:

Read-Write, Boolean

Example:

This example shows how to calculate the minimum/maximum (Y) range based on the first two thousand bars for a chart:

ActiveDocument.Sections["Chart"].ValuesAxis.AdjustableScale = true