Label

FeatureDescription
FormatDefines the formatting for numbers.

We use the library numeral.js for formatting.
We therefore refer you to the page http://numeraljs.com/#format for an explanation of valid formatting.

Dependence on InputType
Even if only numbers can be formatted, this property is available for both numeric and alphanumeric text boxes.

However, there are differences in which formatting is permitted.

For numeric text boxes, the format may only contain the following characters:
+

0
.
[
]

There is no restriction for alphanumeric text boxes.

Prefixes and suffixes
For alphanumeric text boxes, it is also possible to specify a prefix and or suffix in the format.
To prefix a number with a specific character string, the character string must be placed in curly brackets before the format.
To append a specific character string to a number, the character string must be appended to the format in curly brackets.

Example:
A number is to be displayed as a temperature with one decimal place.

Input: 12
Format: 0.0{ °C}
Output: 12.0 °C

Please note that any spaces that are to be displayed between the number and prefix/suffix must be specified within the curly brackets
. Spaces between the format and curly brackets are ignored.
FontDetermines the font.
> Make sure that the selected font is also installed on the target system. Otherwise, a standard sans serif font will be displayed.
Font sizeDetermines the font size.
TextColorDetermines the font color.
TextDetermines the text. You have the option of making a line break.
TextAlignmentDetermines the alignment of the text. Options: left-aligned | right-aligned | centered
WordWrapIf this property is activated, the text of the label is automatically wrapped according to its size. If the property is deactivated, the text is truncated.
ActionDescription
ClickedAn action can be defined here that is triggered when the element is clicked with the mouse button.