MaximumValue property for PowerScript controls
Controls
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 |
gr_1.Values.DataType = AdtDouble! |
1 |
gr_1.Values.MaximumValue = 500000.00 |
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments