PieGraphData
A PieChart can be configured as follows:
- 1. Link the array containing the values to the attribute "Pie Graph Data" of the category "Common".
- number[]
- 2. Add a graph description for each of the graphs contained in the array to the "Pie Graph Descriptions" attribute of the "Common" category using the "PieGraphDescription Definition" editor.
![]() | The array is a one-dimensional array that contains the values: |
Engineering
You can use this dialog to statically define the data to be displayed in the pie graph in Engineering.
Items | List of all objects added |
|---|---|
| Delete the selected object |
| Change the object order (top = left) |
| Add a new object |
Properties:
|
Name |
Description |
|---|---|
|
|
|
Value | The value of the pie slice. |
Schema: tchmi:framework#/definitions/TcHmi.Controls.Beckhoff.TcHmiPieChart.ChartPieGraphDataDefinitionList
Attribute getter
public getPieGraphData():number[] | null | undefined;Parameter
Name | Type | Description |
|---|---|---|
- | - | - |
Return value
Type | Description |
|---|---|
The current value of the attribute. |
Attribute setter
public setPieGraphData(valueNew: number[][] | number[] | null): void;Parameter
Name | Type | Description |
|---|---|---|
valueNew | The new value of the attribute. If null is passed, the internal default value is used. |
Return value
Type | Description |
|---|---|
void | No return value. |
![]() | Available from version 14 |



