You can display variable values in a bar graph.
To create a bar graph, use a [Rectangle] object and the below [Animation], the [Fill Level] property. Also, use the scale converter to align variable values with values displayed in the graph.
Add the below variable(s).
| [Name] | [Data Type] |
Var1 |
[USINT] |
Add the below converter(s).
| [Name] | [Type] |
Converter1 |
[Scale] |
| Tab | Property | Value |
[Basic] |
[Maximum (Source)] | 255 |
| [Maximum (Output)] | 100 | |
| [Minimum (Source)] | 0 | |
[Minimum (Output)] |
0 |
Drag and drop the following objects from the [Tool Chest] to the screen.
| Tab | Sub Tab | Property | Value |
[Shape] |
[Text] |
[Scale Label] | ![]() |
| Tab | Sub Tab | Property | Value | ||
| [Shape] | [Basic] |
[Border] |
[Type] | [None] | |
[Size/Location] |
[Animation] |
[Fill Level] | [Enable] | ![]() |
|
| [Vertical Fill] | [Variable]
[Name]: Var1
[Converter] :
[User-Defined Converters] ➞ [Converter1] |
||||
| Tab | Sub Tab | Property | Value |
[Function] |
[Basic] |
[Current Value] | [Variable]
[Name]: Var1 |