HTBasic Help
×
Menu
Index

Bars Widget - Maximum

 
The value of this attribute specifies the upper bound of the display for the values of either the single-bar VALUE attribute or the multiple-bars VALUES attribute. That is, when any single-bar value equals the value of MAXIMUM, the bar will reach the top or right (depending on the ORIENTATION) of the widget.
 
If the value is set MAXIMUM or becomes less than MINIMUM and AUTOSCALE, the BARS widget will automatically adjust MAXIMUM and/or MINIMUM to accommodate the new value. MAXIMUM must be greater than MINIMUM. If the ORIGIN attribute is set greater than or equal to MAXIMUM and the VALUE attribute is set greater than or equal to MAXIMUM, no bar is drawn.
 
The value of MAXIMUM will be displayed with only one digit to the right of the decimal point. For example, if you set the value of MAXIMUM to 123.4567, the display will show 123.5. If you set the value of MAXIMUM to 0.0001375, the display will show 1.4E-4.
 
If you need to display numbers in a different way for your application, you can set the value of MAXIMUM as a string. For example, if you want to display 0.000237 or 4.167E-4, set the value of MAXIMUM to the string "0.000237" or "4.167E-4" in the ASSIGN or CONTROL statement.