LabelFormat
Schema: tchmi:framework#/definitions/Function
The formatting function for the label texts.
It is called for each value in the label.
A function must fulfill the following signature in order to be offered in the engineering. The parameters mentioned here are set by the control. Further parameters are possible and can be specified per instance in the engineering.
[ Function ]
LabelFormat(value: number): string;
Parameter
Name | Type | Description |
---|---|---|
value | The numerical value for the label. |
Return value
Type | Description |
---|---|
The text to be displayed. HTML is not allowed here. |
Origin: Tachometer
See also
Attribute getter: getLabelFormat
Attribute setter: setLabelFormat
Available from version 1.12.744 |