Skip to main content

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

pieChart

HMI Representation

pieChart

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
Radius✔️✔️Radius of the pie chart.pxDecimal 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 (✔️, )
WidthMaximal length of the element on the X-axis.pxDecimal number
HeightMaximal width of the element on the Y-axis.pxDecimal number
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 Slice

Add a slice on the pie chart or update it if it already exists.

Show/Hide all parameters
parametersdescriptionunittype
IDSlice id to add/update.-Text
ValueThe longitude of the marker.degreeDecimal number
ColorColor 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
parametersdescriptionunittype
IDSlice id to clear.-Text

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 pie chart can send information to the model once at initialization
ContinuallyThe pie chart can send information to the model continuously