Skip to main content
Version: 8.1

Vision - Thermometer

Component Palette Icon

This component displays a temperature value depicted as a level in a mercury thermometer. Three temperature intervals can optionally be defined with their own colors. The mercury will change color based on these intervals.

Properties

PropertyDescriptionProperty TypeScriptingCategory
Axis Label ColorThe color of the meter's y-axis label. Can be chosen from color wheel, chosen from color palette, or entered as RGB or HSL value. See Color Selector.Color.axisColorAppearance
BorderThe border surrounding this component. Options are No border, Etched (Lowered), Etched (Raised), Bevel (Lowered), Bevel (Raised), Bevel (Double), and Field Border.
Note: The border is unaffected by rotation.

Changed in 8.1.21
As of 8.1.21, the "Button Border" and "Other Border" options are removed.
Border.borderCommon
CursorThe mouse cursor to use when hovering over this component. Options are: Default, Crosshair, Text, Wait, Hand, Move, SW Resize, or SE Resize.int.cursorCodeCommon
Follow data in rangesIf true, the thermometer's Y axis will scale itself to zoom in on the current range.boolean.followDataInSubrangesBehavior
Interval 1 ColorThe color of this interval. See Color Selector.Color.interval1ColorIntervals
Interval 1 HighThe upper bound of this interval.double.interval1HighIntervals
Interval 1 LowThe lower bound of this interval.double.interval1LowIntervals
Interval 2 ColorThe color of this interval. See Color Selector.Color.interval2ColorIntervals
Interval 2 HighThe upper bound of this interval.double.interval2HighIntervals
Interval 2 LowThe lower bound of this interval.double.interval2LowIntervals
Interval 3 ColorThe color of this interval. See Color Selector.Color.interval3ColorIntervals
Interval 3 HighThe upper bound of this interval.double.interval3HighIntervals
Interval 3 LowThe lower bound of this interval.double.interval3LowIntervals
Mercury ColorThe default color of the mercury. See Color Selector.Color.mercuryColorAppearance
Mouseover TextThe text that is displayed in the tooltip which pops up on mouseover of this component.String.toolTipTextCommon
NameThe name of this component.String.nameCommon
Overall High BoundThe high bound for the whole thermometerdouble.overallHighData
Overall Low BoundThe lower bound for the whole thermometerdouble.overallLowData
QualityThe data quality code for any Tag bindings on this component.QualityCode.qualityData
StylesContains the component's stylesDataset.stylesAppearance
Thermometer ColorThe color of the outline of the thermometer. See Color Selector.Color.thermometerColorAppearance
Thermometer WidthThe width of the lines used to draw the thermometer.int.strokeWidthAppearance
UnitsA string to describe the units for the current value label.int.unitsAppearance
Use Range ColorControls whether or not the mercury color changes based on the range it is in.boolean.useSubrangePaintAppearance
ValueThe value to display in this thermometer. The mercury level and value label will change to reflect this.double.valueData
Value ColorThe color of the meter's current value label. See Color Selector.Color.valueColorAppearance
Value Label FontThe font to use for the current value label.Font.valueFontAppearance
VisibleIf disabled, the component will be hidden.boolean.visibleCommon

Deprecated Properties

PropertyDescriptionProperty TypeScriptingCategory
Data QualityThe data quality code for any Tag bindings on this component.int.dataQualityDeprecated

Scripting

See the Vision - Thermometer Scripting Functions page for the full list of scripting functions available for this component.

Event Handlers

Event handlers allow you to run a script based off specific triggers. See the full list of available event handlers on the Component Events page

Customizers

Examples

Property NameValue
UnitsFahrenheit
Value192
Interval 1 High59
Interval 1 Low20
Interval 2 High100
Interval 2 Low50
Interval 3 High187
Interval 3 Low100
Mercury Color255, 200,0
Use Range ColorTrue