Progress
Shows a value within a range as a bar: batch progress, fill percentage, tank level. Warning and alarm limits are marked on the bar, which changes color when the value crosses them — like Stat and Gauge.
Value inside the bar, with limits
Section titled “Value inside the bar, with limits”Vertical (tank)
Section titled “Vertical (tank)”Properties
Section titled “Properties”| Property | Type | Default | Description |
|---|---|---|---|
label |
string | Level |
Title |
icon |
string | Lucide icon before the label | |
unit |
string | Unit after the value | |
min, max |
number | 0, 100 |
Range of the bar |
decimals |
number | 0 |
Decimal places |
warn |
number | At or above it the bar turns amber; marked on the bar | |
alarm |
number | At or above it the bar turns red; marked on the bar | |
orientation |
horizontal · vertical |
horizontal |
A bar, or a tank that fills from the bottom |
showValue |
boolean | false |
Horizontal only: show the value inside the bar instead of the header |
Size: 3×1 for a bar, 2×3 for a tank. Switching the orientation in the builder inspector or the node dialog resizes a widget that still has the default size.
msg.payload = 68; // drawn within min..max (clamped), shown as receivedmsg.payload = '3200'; // numeric strings work toomsg.payload = null; // clears the value (—)msg.ui = { max: 8000 }; // change the range or any other property