Skip to main content

Bar Chart

This element is a basic bar chart. It is useful to compare and display assigned values in your scenario.

This element must be used with HMI context.

Icon

BarChart

HMI Representation

barChart

External parameters

Show/Hide all parameters
parametereditable via "Parameter" tabupdatable via a mappingdescriptionunittype
X-axis position✔️✔️Position of the element's on the X-axis.pxInteger number
Y-axis position✔️✔️Position of the element's on the Y-axis.pxInteger number
Width✔️✔️Maximal length of the element on the X-axis.pxDecimal number
Height✔️✔️Maximal width of the element on the Y-axis.pxDecimal number
Visibility✔️✔️This parameter allows you to choose if you want the element to be visible or not on the scene during the execution of the scenario. If the item is part of a group, it can inherit the value of that group.-Enumeration (visible, hidden, inherit)
X label✔️✔️Title informing of what is represented on the X axis.-Text
Y label✔️✔️Title informing of what is represented on the Y axis.-Text
Log Y Axis✔️✔️Whether Y axis scale needs to be a linear () or a logarithmic (✔️) scale. Presenting data on a logarithmic scale can be helpful when the data covers a large range of values.-Enumeration(✔️,)
Max Y value✔️Maximum value displayed on the Y axis.Unit paramDecimal number
Min Y value✔️Minimum value displayed on the Y axis.Unit paramDecimal number
Column Name✔️Each column of your bar chart, split with the ";" character. Example: A;B;C-Text
Angle✔️✔️Angle of rotation of the element compared to its initial position.degreeDecimal number

Triggered behaviours

See Triggered behaviours and events page for more explanation: Triggered behaviours and events.

Show/Hide all triggered behaviours

Destroy

At the reception of the flow, the element is destroy.

No parameters for this triggered behaviour.

Add/Update one Bar

Add slice on pie chart or update it if it already exist.

Show/Hide all parameters
parametersdescriptionunittype
X ValueBar id to add/update.-Text
Y ValueThe value of the bar.Unit paramDecimal number
ColorColor of the bar. This parameter can be edited.-Hexadecimal

Clear one Bar

Clear one bar of bar chart element

Show/Hide all parameters
parametersdescriptionunittype
X ValueBar id to clear.-Text

Clear All Bars

Clear all bars on Bar Chart element.

No parameters for this triggered behaviour

Events

See Triggered behaviours and events page for more explanation: Triggered behaviours and events.

Show/Hide all events
eventdescription
On Parameter Value ChangedThe element can send information to the model when the value of the selected parameter has changed
At initializationThe bar chart can send information to the model once at initialization
ContinuallyThe bar chart can send information to the model continuously