MaximumValue
property for PowerScript controls
Applies to
grAxis objects in Graph controls
Description
The MaximumValue property specifies the maximum value for an axis
when the axis datatype is numeric. This property is not used if the
Autoscale property is enabled.
Usage
In a painter
To set the maximum value of an axis with a numeric
datatype:
-
Display the Axis tab page of the graph’s Properties view and
select the desired axis from the Axis drop-down list. -
Make sure that the Autoscale check box is not checked.
-
Select adtDouble! from the DataType drop-down list.
-
Specify the desired maximum numeric value in the MaximumValue
field.This value should be larger than the maximum data value being
graphed.
In scripts
The MaximumValue property takes a double value.
The following line sets a maximum value for an Axis with a datatype
of double.
|
1 2 |
gr_1.Values.DataType = AdtDouble! gr_1.Values.MaximumValue = 500000.00 |