SetMinMax Method
Syntax
CWAxis3D.SetMinMax Minimum, Maximum
Purpose
Sets both the minimum and the maximum values of the axis at the same time.
Remarks
Use this method to avoid setting a minimum value greater than the maximum value or a maximum value less than the minimum value.
To make the axis appear inverted, set the Inverted property.
Parameters
Minimum As Variant
The new minimum value for the axis.
Maximum As Variant
The new maximum value for the axis.
Example
'Set the minimum and maximum values of the x-axis
CWGraph3D1.Axes.Item(1).Minimum = 0
CWGraph3D1.Axes.Item(1).Maximum = 100
'Alternately, call SetMinMax
CWGraph3D1.Axes.Item(1).SetMinMax 0, 100