Pie Chart
This element is a basic pie chart. It is useful to display percentages or assigned values in your scenario.
This element must be used with HMI context.
Icon
HMI Representation

External parameters
Show/Hide all parameters
parameter | editable via "Parameter" tab | updatable via a mapping | description | unit | type |
---|---|---|---|---|---|
X-axis position | ✔️ | ✔️ | Position of the element's on the X-axis. | px | Integer number |
Y-axis position | ✔️ | ✔️ | Position of the element's on the Y-axis. | px | Integer number |
Radius | ✔️ | ✔️ | Radius of the pie chart. | px | Decimal number |
Inner Radius | ✔️ | ✔️ | Value of the inner radius of the pie chart based on the Radius parameter, forming a doughnut-shaped pie. | % | Decimal 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) |
Display Legend | ✔️ | ✔️ | Choose if you want to display slice caption or not. | - | Enumeration (✔️, ❌) |
Width | ❌ | ❌ | Maximal length of the element on the X-axis. | px | Decimal number |
Height | ❌ | ❌ | Maximal width of the element on the Y-axis. | px | Decimal number |
Angle | ✔️ | ✔️ | Angle of rotation of the element compared to its initial position. | degree | Decimal 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 Slice
Add a slice on the pie chart or update it if it already exists.
Show/Hide all parameters
parameters | description | unit | type |
---|---|---|---|
ID | Slice id to add/update. | - | Text |
Value | The longitude of the marker. | degree | Decimal number |
Color | Color of the slice. This parameter can be edited. | - | Hexadecimal |
Clear Pie Chart
Clear all slices on the Pie Chart element.
No parameters for this triggered behaviour
Clear Slice
Clear a specific slice on the pie.
Show/Hide all parameters
parameters | description | unit | type |
---|---|---|---|
ID | Slice id to clear. | - | Text |
Events
See Triggered behaviours and events page for more explanation: Triggered behaviours and events.
Show/Hide all events
event | description |
---|---|
On Parameter Value Changed | The element can send information to the model when the value of the selected parameter has changed |
At initialization | The pie chart can send information to the model once at initialization |
Continually | The pie chart can send information to the model continuously |