Skip to content

Progress Bar Widget ​

Last updated

A horizontal bar that fills in proportion to a value between a minimum and a maximum — tank level, batch progress, count towards target.

Settings ​

SettingDescriptionDefault
MinimumValue at which the bar is empty0
MaximumValue at which the bar is full100
ColorFill color#3b82f6 (blue)
Show LabelPrints the value under the bar, right-alignedon
UnitText after the printed value. Blank shows %%

Binding ​

The widget reads the binding named value.

Behavior ​

  • The fill is clamped to the range; the label prints the real value with one decimal place and a space before the unit — a value of 1340 on a 0–1200 bar is full and reads "1340.0 L".
  • The label is not affected by value formatting settings (it has none).
  • To show no unit, set Unit to a single space.
  • A non-numeric value draws an empty bar and "NaN".

Example ​

A 1,200 L silo: Minimum 0, Maximum 1200, Unit L, bound to Silo2/Level_L.

See also ​

Scada.Ink Help Center