ELEMENT_TYPE_PIE

The tables below describe the ELEMENT_TYPE_PIE specific parameters and additional fields for the MSG_CONF_DASHBOARD_ELEMENT message. This element generates a pie chart. The size of the slices are updated based on the data from the target to the PC. There will be one data stream input for each slice.

Table 5-82. ELEMENT_TYPE_PIE Specific Parameters
ParameterValue
ELEMENT_TYPE0x09
Total data length of MSG_CONF_DASHBOARD_ELEMENT when using ELEMENT_TYPE_PIE21 + length of title (N)
Table 5-83. Additional Data Fields to MSG_CONF_DASHBOARD_ELEMENT for ELEMENT_TYPE_PIE
FieldSizeValuesDescription
Background color3 bytes0xRRGGBBRGB color of background
Title color3 bytes0xRRGGBBRGB color of title
TitleN bytesNull-terminated string max. 20 bytes
Number of slices1 byte1-10

Example

The picture below shows an example of a pie element with three slices. The corresponding element data fields are given in the table below the picture.

: The appearance of elements will vary with operating system version and configuration.
Table 5-84. Numerical Input
FieldValue
Z-index0
X-coordinate20
Y-coordinate20
Width600
Height400
Element type0x09
Background color0xFFFFFF
Title color0x000000
Title“Pie\0”
Number of slices3