Component: Meter Square (Controls)

From Flowcode Help
Jump to navigationJump to search


Author Matrix TSL
Version 1.5 (Development)
Category Controls


Image Meter Square component

Square analogue panel meter. A simulation only component - the needle value is set solely by the 'SetValue' macro.

Examples

No additional examples


Downloadable macro reference

This component does not contain any downloadable macros

Simulation macro reference

SetValue

Set the meter needle to a new position based on the current scaling properties.

Parameters

FLOAT Value
Needle position between min and max


Return value

This call does not return a value



Property reference

Minimum

This property is of type Floating point and can be referenced with the variable name val_min.

Minimum value to show on the meter.

Maximum

This property is of type Floating point and can be referenced with the variable name val_max.

Maximum value to show on the meter.

BG Color

This property is of type Color picker with transparency and can be referenced with the variable name bg_color.

Color of the meter scale background.

Positive Color

This property is of type Color picker and can be referenced with the variable name ink_color.

Color of the scale gradations for positive values.

Negative Color

This property is of type Color picker and can be referenced with the variable name neg_color.

Color of the scale gradations for negative values.

Label Color

This property is of type Color picker and can be referenced with the variable name label_color.

Color of the meter's title label.

Divisions

This property is of type Signed integer and can be referenced with the variable name marks_count.

Number of large scale divisions..

Subdivisions

This property is of type Signed integer and can be referenced with the variable name marks_subdiv.

Number of sub-divisions in between each major division.

Show

This property is of type True or false and can be referenced with the variable name show_marks.

Show or hide the scale markings.

Decimals

This property is of type Signed integer and can be referenced with the variable name dec_places.

Number of decimal points to show on scale values.

Text Size %

This property is of type Signed integer and can be referenced with the variable name num_size.

Text height of the scale values.

Font

This property is of type Font picker and can be referenced with the variable name num_font.

Font for the scale value numbers.

Show

This property is of type True or false and can be referenced with the variable name show_numbers.

Show or hide the scale number values.

Text

This property is of type Line of text and can be referenced with the variable name label_text.

A title label to make the meter easier to identify.

Text Size %

This property is of type Signed integer and can be referenced with the variable name label_size.

Height of the label text.

Font

This property is of type Font picker and can be referenced with the variable name label_font.

Font for printing the label.

Show

This property is of type True or false and can be referenced with the variable name show_label.

Show or hide the title label.