Graphics Builder > Graphics Objects > Edit Common Object Properties > Fill Level
Fill Level

The fill level of an object/group can be changed during runtime, increasing or decreasing dynamically whenever the value of a particular expression changes. As the value of the expression increases and decreases, the fill level will increase and decrease accordingly (as a percentage of the full capacity of the object/group). If the object/group resizes at runtime, the fill level will adjust automatically in order to maintain the correct percentage.

The color that is used is set through either General Appearance, or Color Fill.

This property could be used to display temperature variations. You could even combine the Fill Color and Fill Level properties to produce a thermometer with mercury that rises and changes color with rising temperature.

To configure an object or group with changing fill level:

  1. Draw the object/group (or paste a symbol). The properties tab dialog will automatically display, unless you have turned off the Display properties on new option in the Graphics Builder. (For a group, the properties dialog will not display automatically; you need to double-click the group.)
  2. Click the Fill tab.
  3. Click the Level tab (to the right of the dialog).
  4. Enter a Level expression (the expression that will change the fill level of the object/group at runtime).
  5. Enter additional properties as necessary.
  6. Click OK.

See Also

Published June 2018