--- title: "Thermometer" description: "This component displays a temperature value depicted as a level in a mercury thermometer." --- # Thermometer > This component displays a temperature value depicted as a level in a mercury thermometer. ![](therm0.png) **Component Palette Icon** ![](therm1.png) 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 the range that it is in. ## Properties |Name|Description|Property Type|Scripting|Category| |:---|:---|:---|:---|:---| |Axis Label Color|The color of the meter's y-axis label.|Color|.axisColor|Appearance| |Border|The border surrounding this component. NOTE that the border is unaffected by rotation.|Border|.border|Common| |Cursor|The mouse cursor to use when hovering over this component.|int|.cursorCode|Common| |Data Quality|The data quality code for any tag bindings on this component.|int|.dataQuality|Data| |Follow data in ranges|If true, the thermometer's Y axis will scale itself to zoom in on the current range.|boolean|.followDataInSubranges|Behavior| |Interval 1 Color|The color of this interval.|Color|.interval1Color|Intervals| |Interval 1 High|The upper bound of this interval.|double|.interval1High|Intervals| |Interval 1 Low|The lower bound of this interval.|double|.interval1Low|Intervals| |Interval 2 Color|The color of this interval.|Color|.interval2Color|Intervals| |Interval 2 High|The upper bound of this interval.|double|.interval2High|Intervals| |Interval 2 Low|The lower bound of this interval.|double|.interval2Low|Intervals| |Interval 3 Color|The color of this interval.|Color|.interval3Color|Intervals| |Interval 3 High|The upper bound of this interval.|double|.interval3High|Intervals| |Interval 3 Low|The lower bound of this interval.|double|.interval3Low|Intervals| |Mercury Color|The default color of the mercury.|Color|.mercuryColor|Appearance| |Mouseover Text|The text that is displayed in the tooltip which pops up on mouseover of this component.|String|.toolTipText|Common| |Name|The name of this component.|String|.name|Common| |Overall High Bound|The high bound for the whole thermometer|double|.overallHigh|Data| |Overall Low Bound|The lower bound for the whole thermometer|double|.overallLow|Data| |Styles|Contains the component's styles|Dataset|.styles|Appearance| |Thermometer Color|The color of the outline of the thermometer.|Color|.thermometerColor|Appearance| |Thermometer Width|The width of the lines used to draw the thermometer.|int|.strokeWidth|Appearance| |Units|A string to describe the units for the current value label.|int|.units|Appearance| |Use Range Color|Controls whether or not the mercury color changes based on the range it is in.|boolean|.useSubrangePaint|Appearance| |Value|The value to display in this thermometer. The mercury level and value label will change to reflect this.|double|.value|Data| |Value Color|The color of the meter's current value label.|Color|.valueColor|Appearance| |Value Label Font|The font to use for the current value label.|Font|.valueFont|Appearance| |Visible|If disabled, the component will be hidden.|boolean|.visible|Common| ## Scripting ### Scripting Functions This component does not have scripting functions associated with it. ### Extension Functions This component does not have extension functions associated with it. ### 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](scripting\scripting-in-ignition\component-and-window-scripting\component-events.md) page ## Customizers + [Vision Component Customizers](visualization-and-dashboards\understanding-components\component-customizers\component-customizers.md) + [Style Customizer](visualization-and-dashboards\understanding-components\component-customizers\component-customizers.md#style-customizer) ## Examples ![](therm2.png) |Property Name|Value| |:---|:---| |Units|Fahrenheit| |Value|192| |Use Range Color|True| |Interval 1 Low|187| |Interval 1 High|212| |Interval 2 Low|0| |Interval 2 High|187| |Interval 3 Low|0| |Interval 3 High|187|