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 1. ELEMENT_TYPE_PIE Specific
ParametersParameter |
Value |
ELEMENT_TYPE |
0x09 |
Total data length of MSG_CONF_DASHBOARD_ELEMENT when
using ELEMENT_TYPE_PIE |
21 + length of title (N) |
Table 2. Additional Data Fields to
MSG_CONF_DASHBOARD_ELEMENT for ELEMENT_TYPE_PIEField |
Size |
Values |
Description |
Background color |
3 bytes |
0xRRGGBB |
RGB color of background |
Title color |
3 bytes |
0xRRGGBB |
RGB color of title |
Title |
N bytes |
Null-terminated string max. 20 bytes |
|
Number of slices |
1 byte |
1-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.
Note: The appearance of elements will vary with operating system version
and configuration.
Table 3. Numerical InputField |
Value |
Z-index |
0 |
X-coordinate |
20 |
Y-coordinate |
20 |
Width |
600 |
Height |
400 |
Element type |
0x09 |
Background color |
0xFFFFFF |
Title color |
0x000000 |
Title |
“Pie\0” |
Number of slices |
3 |