ValueFormat
Schema: tchmi:framework#/definitions/Function
The formatting function for the display value.
It is called for each displayed value.
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 ]
ValueFormat(value: number): string;
Parameter
Name | Type | Description |
---|---|---|
value | The current numerical value. |
Return value
Type | Description |
---|---|
The text to be displayed. HTML is not allowed here. |
Origin: Linear Gauge
See also
Attribute getter: getValueFormat
Attribute setter: setValueFormat
Available from 1.8 |