Max Property [AutoAxis]

The Max property returns or sets the axis maximum value of a standard axis. The Max property is used when the axis maximum is not set to automatic. Returns a Double.

Syntax

object.Max

object.Max = Max

 

Parameter Type Description
Max Double required, axis maximum value

 

Remarks

The Max property sets the right side maximum for a stiff plot axis.

The Min and Max properties can be used to set the limits of ternary plot axes. However, no error checking is performed. Ensure the axis limits you specify satisfy the following conditions:

  • XMax + YMin + ZMin = 1

  • XMin + YMax + ZMin = 1

  • XMin + YMin + ZMax = 1

Example 1

This example shows how to set the maximum value of the X axis.

Axis.Max = 50

Example 2

This example shows how to return the maximum value of the X axis.

Debug.Print Axis.Max

Example 3

This example shows how to set the left side of a stiff axis to 40 and the right side of the stiff axis to 60.

Axis.Min = -40

Axis.Max = 60

 

Used by: AutoAxis object