Gauge
- Last UpdatedJul 10, 2024
- 4 minute read
Use Gauge control to display data in a gauge in your form.
Note: This control is not supported in AVEVA Work Tasks Pro.
Properties
The properties for the control are grouped under the following tabs:
Basic
|
Property |
Description |
|---|---|
|
Name |
Name that identifies the control. This value is also used for the label of the control. |
|
XML Node |
XML node mapped to the control. Use this value to map a list to a form and a form to a workflow.
Note: |
|
Description |
Description for the control. |
|
Tooltip |
Message that appears when the pointer hovers over the control. |
Appearance
|
Property |
Description |
|---|---|
|
Visible |
Show or hide the control.
|
|
Label Position |
Position of the label for the control.
Note: |
|
Label-Control Area |
Area occupied by the label and the control in percentage.
Note: |
|
Retain Space |
Reserve or remove space when the control is hidden.
|
|
Alignment |
Alignment of the control with respect to the form.
|
|
Scale Minimum Value |
Minimum value displayed on the scale. The default value is 0. |
|
Scale Maximum Value |
Maximum value displayed on the scale. The default value is 100. |
|
Scale Start Angle |
The angle at which the scale starts. The default value is -30 degrees. |
|
Scale End Angle |
The angle at which the scale ends. The default value is 210 degrees. |
|
Scale Major Unit |
Value of major tick marks on the scale. For example, if the Unit of Measurement is set to lb, and the Scale Major Unit is set to 50, then every major tick mark will denote a value of 50 lb. The gauge is limited to a maximum of 100 major tick marks at runtime.Therefore, the value for the major unit must be set such that no more than 100 units would be rendered on the gauge. The default value is 20. |
|
Scale Minor Unit |
Value of minor tick marks on the scale. For example, if the Unit of Measurement is set to lb, and the Scale Minor Unit is set to 10, then every minor tick mark will denote a value of 10 lb. The gauge is limited to a maximum of 200 minor tick marks at runtime.Therefore, the value for the minor unit must be set such that no more than 200 units would be rendered on the gauge. The default value is 10. |
|
Value Position |
Position of the value for the control.
|
|
Show Target Indicator |
Show or hide the target indicator of the control.
The default value is Yes. |
Advanced
|
Property |
Description |
|---|---|
|
On Initialize |
Run a script after the control has been initialized, but before it is rendered to the UI. For more information, see scripting guidelines for On Initialize property. |
|
Range Color |
Run a script to apply a color to a range of values on the the gauge. For more information, see scripting guidelines for Range Color property. |
|
ID |
Reference identification code for the control. This value is automatically generated and cannot be changed. |
|
Target Value |
Target value of the gauge. This is the value that the Target indicator points at. The default value is 0. |
|
Unit of Measurement |
Unit of measurement for value of the control. |
|
Decimal Places (Precision) |
Decimal places for the value of the control. The default value is 0. |
Note: The Gauge control is not supported in mobile devices.
Scripts
For information about using scripts, see scripting guidelines for Gauge control.