SetScale

SetScale sets the axis scaling.

Syntax

object.SetScale( Minimum, Maximum, MajorInterval, FirstMajorTick, LastMajorTick, Cross1, Cross2 )

Parameter

Type

Required/

Optional

Default

Description

Minimum

Variant

Optional

This specifies the axis minimum; used for setting the value for Axis.Minimum

Maximum

Variant

Optional

This specifies the axis maximum; used for setting the value for Axis.Maximum

MajorInterval

Variant

Optional

This specifies the major tick interval; used for setting the value for Axis.MajorInterval

FirstMajorTick

Variant

Optional

This specifies the first major tick value; used for setting the value for Axis.FirstMajorTick

LastMajorTick

Variant

Optional

This specifies the last major tick value; used for setting the value for Axis.LastMajorTick

Cross1

Variant

Optional

This specifies the value where the perpendicular axis is crossed, or X value to cross with a Z axis; used for setting the value for Axis.Cross1

Cross2

Variant

Optional

This specifies the value where the Z axis (if any) is crossed, or Y value to cross with a Z axis; used for setting the value for Axis.Cross2

Remarks

The parameters of this method are used to set the read-only properties of the Axis object, with same name.

Example

This example demonstrates how to set the scale of an axis using positional arguments.

Axis.SetScale(2, 5, 1, 2, 5)

Used by: Axis object