Skip to main content

Chart

This element is a basic Chart. It is useful to display percentages or assigned values in your scenario, and to compare and clearly display those assigned values within your scenario.

This element must be used with HMI context.

Icon

Chart

HMI Representation

For the case when you select Bar chart in "Basic Parameters" :

Chart

For the other case when you select Pie chart in "Basic Parameters" :

Chart

External parameters

Depending on the basic parameters, you will have two possible parameters according to the selected element :

Basic Parameters

For the case when user selects "Pie Chart" : You can edit the units

Show/Hide all parameters
parametereditable via "Parameter" tabupdatable via a controllerdescriptiondefault unittype
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
Angle✔️✔️Radius of the pie chart.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)
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

For the case when user selects "Bar Chart" : You can edit the units

Show/Hide all parameters
parametereditable via "Parameter" tabupdatable via a controllerdescriptiondefault unittype
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
Angle✔️✔️Angle of rotation of the element compared to its initial position.degreeDecimal 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)
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(✔️,)
Y label✔️✔️Title informing of what is represented on the Y axis.-Text
Max Y value✔️Maximum 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
X label✔️✔️Title informing of what is represented on the X axis.-Text
Min Y value✔️Minimum value displayed on the Y axis.Unit paramDecimal number

Triggered behaviours

See Actions page for more explanation.

For the casse of Pie chart :

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
parametersdescriptiondefault unittype
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
parametersdescriptiondefault unittype
IDSlice id to clear.-Text

For the case of Bar chart :

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
parametersdescriptiondefault unittype
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
parametersdescriptiondefault unittype
X ValueBar id to clear.-Text

Clear All Bars

Clear all bars on Bar Chart element.

No parameters for this triggered behaviour

Events

See Events page for more explanation.

For the casse of Pie chart :

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

For the case of Bar chart :

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