Online documentation, manuals and tutorials
< All Topics
Print

BarGraph

Description

This Widget displays the default value through the Data property as a bar and as text (if selected). Also, if set, it will show two lines at the default positions (Threshold1 and Threshold2), e.g. to mark some critical values.

Properties

Specific

Data

EXPRESSION (any)

This is the value within the range [Min, Max] for which the bar and text will be rendered.

Orientation

Enum

Defines the orientation of the Widget, the following options are available:

  • Left right – as the value set through Data increases from Min to Max, the bar inside the graph also increases from the left side to the right side.
  • Right left – the bar grows from right to left
  • Top bottom – the bar grows from top to bottom
  • Bottom top – the bar grows from bottom to top

Display value

Boolean

When checked, Data value will also be displayed as text.

Threshold1

EXPRESSION (any)

An optional value within the range [Min, Max] at whose position a line will be drawn in the default style (Threshold1). It is used to mark some critical/important value within the bar graph.

Threshold2

EXPRESSION (any)

An optional value within the range [Min, Max] at whose position a line will be drawn in the default style (Threshold2). It is used to mark some critical/important value within the bar graph.

Min

EXPRESSION (any)

The minimum value that Data can contain.

Max

EXPRESSION (any)

The maximum value that Data can contain.

Refresh rate

EXPRESSION (any)

Similar to the case of the DisplayData Widget, it defines the speed at which the text will be refreshed.

Visible

EXPRESSION (boolean)

If the calculated expression is true then the Widget is visible, and if it is false then the Widget is hidden. It can be left blank, in which case the Widget is always visible.

Examples

  • eez-gui-widgets-demo
Page content