Top  | Previous | Next

Thermometer

display_Thermometer

Description

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

Appearance

Units

A string to describe the units for the current value label.

Scripting name

units

Data type

int

Values

0

None

1

Fahrenheit

2

Celsius

3

Kelvin

Thermometer Color

The color of the outline of the thermometer.

Scripting name

thermometerColor

Data type

Color

Axis Label Color

The color of the meter's y-axis label.

Scripting name

axisColor

Data type

Color

Mercury Color

The default color of the mercury.

Scripting name

mercuryColor

Data type

Color

Value Color

The color of the meter's current value label.

Scripting name

valueColor

Data type

Color

Value Label Font

The font to use for the current value label.

Scripting name

valueFont

Data type

Font

Thermometer Width

The width of the lines used to draw the thermometer

Scripting name

strokeWidth

Data type

int

Flags

expert

Use Range Color

Controls whether or not the mercury color changes based on the range it is in

Scripting name

useSubrangePaint

Data type

boolean

Flags

expert

Styles

Contains the component's styles

Scripting name

styles

Data type

Dataset

Flags

bindable | expert

Behavior

Follow data in ranges

If true, the thermometer's Y axis will scale itself to zoom in on the current range.

Scripting name

followDataInSubranges

Data type

boolean

Flags

expert

Common

Name

The name of this component.

Scripting name

name

Data type

String

Flags

bindable

Visible

If disabled, the component will be hidden.

Scripting name

visible

Data type

boolean

Flags

bindable

Border

The border surrounding this component. NOTE that the border is unaffected by rotation.

Scripting name

border

Data type

Border

Mouseover Text

The text that is displayed in the tooltip which pops up on mouseover of this component.

Scripting name

toolTipText

Data type

String

Cursor

The mouse cursor to use when hovering over this component.

Scripting name

cursorCode

Data type

int

Values

0

Default

1

Crosshair

2

Text

3

Wait

12

Hand

13

Move

4

SW Resize

5

SE Resize

6

NW Resize

7

NE Resize

8

N Resize

9

S Resize

10

W Resize

11

E Resize

Data

Value

The value to display in this thermometer. The mercury level and value label will change to reflect this.

Scripting name

value

Data type

double

Flags

bindable

Overall Low Bound

The lower bound for the whole thermometer

Scripting name

overallLow

Data type

double

Flags

bindable

Overall High Bound

The high bound for the whole thermometer

Scripting name

overallHigh

Data type

double

Flags

bindable

Data Quality

The data quality code for any tag bindings on this component.

Scripting name

dataQuality

Data type

int

Flags

bindable | expert

Intervals

Interval 1 Low

The lower bound of this interval.

Scripting name

interval1Low

Data type

double

Interval 1 High

The upper bound of this interval.

Scripting name

interval1High

Data type

double

Interval 1 Color

The color of this interval.

Scripting name

interval1Color

Data type

Color

Interval 2 Low

The lower bound of this interval.

Scripting name

interval2Low

Data type

double

Interval 2 High

The upper bound of this interval.

Scripting name

interval2High

Data type

double

Interval 2 Color

The color of this interval.

Scripting name

interval2Color

Data type

Color

Interval 3 Low

The lower bound of this interval.

Scripting name

interval3Low

Data type

double

Interval 3 High

The upper bound of this interval.

Scripting name

interval3High

Data type

double

Interval 3 Color

The color of this interval.

Scripting name

interval3Color

Data type

Color

Scripting

Events

The following event sets are fired by this component. See Component Event Handlers to learn more.

mouse
mouseMotion
propertyChange

 

Scripting Functions

This component has no special scripting functions.