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".
PieGraphData 1:

The array is a one-dimensional array that contains the values:

  • 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.

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

PieGraphData 2:

Delete the selected object

PieGraphData 3:

Change the object order (top = left)

PieGraphData 4:

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

number[], null, undefined

The current value of the attribute.

Attribute setter

public setPieGraphData(valueNew: number[][] | number[] | null): void;

Parameter

Name

Type

Description

valueNew

number[][], number[], null

The new value of the attribute. If null is passed, the internal default value is used.

Return value

Type

Description

void

No return value.

PieGraphData 5:

Available from version 14