Skip to content

Level Bar Display ​

The level bar display shows a value's position within its range as a vertical colored bar. It suits data with clear limits, such as battery level, temperature, or humidity. Each channel has its own bar, and the bars sit side by side.

When several sensors are monitored together, each value gets its own bar. When a value gets near the range maximum, its bar turns red as a warning.

Data Requirements ​

  • The number of values must be at least the number of channels. The first value goes to the first channel, and so on. Extra values are ignored.
  • The plugin does not convert units. Values are compared with the channel range as received.

Data Source ​

For the general data input rules, see the Plugins Overview. This section covers only the behavior specific to this plugin.

Text Split (Default) ​

Text Split is the default data source. The plugin splits the received text by the Prefix and the Separator. Each part becomes a value, and the values go to the channels in order.

Example: the Prefix is empty, the Separator is ,, and both channels use the default range of 0 to 100. When 45,80 is received, the two bars fill to 45% and 80%, and the readouts show 45.0 and 80.0.

If the Prefix is set to $LVL,, only data such as $LVL,45,80 is processed. Other data is ignored.

Variable Rendering ​

Variable Rendering reads the checked numeric variables directly instead of parsing the received text. For the refresh modes, see the Plugins Overview.

  • The number of checked numeric variables sets the number of channels. This count is not limited to 1 to 10.
  • Channels follow the order of the variable list, from top to bottom. The order in which the variables were checked does not matter.
  • Each channel name shows the variable name, and the name cannot be edited. Color, unit, and range can still be changed in the Channel Settings dialog.
  • While Variable Rendering is on, you cannot add or remove channels manually.
  • When you turn on Variable Rendering, the number of channels changes to match the number of variables. New channels use the default color and a range of 0 to 100.
  • After you turn off Variable Rendering, the number of channels does not exceed the number before you turned it on. Channels removed while it was on are not restored automatically.

Channel Settings ​

  • There is one channel by default. It is named Channel 1, is blue, and has a range of 0 to 100.
  • In the Channel Settings dialog, you can add or remove channels. The number of channels ranges from 1 to 10.
  • Each channel has its own name, unit, color, range minimum, and range maximum. The range is set to two decimal places, and its valid values are -1000000 to 1000000.
  • Uncheck Show this channel to hide a channel. A hidden bar keeps its position and is faded. It shows the last value received before it was hidden and no longer receives new values. A hidden channel still needs a value at its position in the data, or the whole data item is ignored.
  • The control has a minimum width of 56 pixels per channel, and at least 72 pixels in total. With many channels, the control becomes wider.

Display ​

  • The fill rises from the bottom. Its height matches the value's position within the range. A value at the range minimum shows no fill, and a value at the range maximum fills the whole track.
  • The fill uses the channel color, shading from light at the top to dark at the bottom, with a highlight along the top edge.
  • Each bar has an orange-red dashed line at 85% of the track height. This is the warning line. The ratio is fixed and cannot be changed in the interface.
  • When the fill reaches or passes 85% of the range, the fill turns red instead of using the channel color.
  • With one channel, five tick marks appear to the right of the track at 0%, 25%, 50%, 75%, and 100% of the track height. The top and bottom ticks are longer. The ticks have no numbers, so read the value below the bar.
  • Below the bar, the channel name appears first, followed by the value and unit. If the name is empty, it is not shown. A long name is cut off with an ellipsis.
  • Values with an absolute value below 100 show 1 decimal place. Other values are rounded to a whole number. For example, 45.67 is shown as 45.7, and 123.6 is shown as 124.
  • Before any valid data arrives, the readout shows -- and the bar is empty.

Toolbar ​

IconButtonDescription
ChannelsChannelsOpens the Channel Settings dialog. You can edit each channel's name, unit, color, range minimum, and range maximum, set Show this channel, and add or remove channels there.
VariableVariableOpens the Variable rendering settings dialog. The button is selected when Variable Rendering is on. The dialog has an Enable Variable Mode checkbox (it cannot be turned on until at least one variable is checked), a list of numeric variables, and Refresh Settings, where you can choose Refresh on receive or Timed refresh and set the refresh interval.
TextTextOpens the Text split settings dialog. The button is selected when Text Split is on, which is the default. The dialog has an Enable Text Mode checkbox, a Prefix field, a Separator field (default: English comma ,), and a read-only preview.
HelpHelpOpens this plugin's online help page in your browser.

Value Handling ​

  • When the range maximum is not greater than the range minimum, the fill is always empty.
  • When a value is outside the range, the fill stops at the nearest end, and the readout still shows the original value.
  • When a value changes, the fill jumps to the new position without an animation.
  • If a value cannot be converted to a number (a missing value), its channel keeps the previous display, and the other channels still update.
  • If there are fewer values than channels, the whole data item is ignored, and each channel keeps its previous display.

Notes ​

  • Any change to a channel setting (name, unit, color, range, or visibility), adding or removing channels, turning Variable Rendering on or off, or changing the checked variables resets all bars to the empty state. The readouts show -- until the next valid data arrives.
  • Font scaling uses only the width of the value, not the unit. A long unit can make the value and unit together wider than the channel.
  • When Text Split and Variable Rendering are both off, the plugin splits the received text by English commas.