ELEMENT_TYPE_GRAPH

The tables below describe the ELEMENT_TYPE_GRAPH specific parameters and additional fields for the MSG_CONF_DASHBOARD_ELEMENT message. This element generates a graph that visualizes the data from the target. There will be one input stream for each plot.

Table 5-73. ELEMENT_TYPE_GRAPH Specific Parameters
ParameterValue
ELEMENT_TYPE0x06
Total data length of MSG_CONF_DASHBOARD_ELEMENT when using ELEMENT_TYPE_GRAPH41 + length of title (N)
Table 5-74. Additional Data Fields to MSG_CONF_DASHBOARD_ELEMENT for ELEMENT_TYPE_GRAPH
FieldSizeValuesDescription
Title color3 bytes0xRRGGBBRGB color of title
Background color3 bytes0xRRGGBBRGB color of graph frame
Graph background color3 bytes0xRRGGBBRGB color of graph
Title textN bytesNull-terminated string max. 20 bytes
Plot count1 byte1-10Number of plots
Xmin4 bytesFloating point, secondsWill be converted to <minutes>:<seconds> format
Xmax4 bytesFloating point, secondsWill be converted to <minutes>:<seconds> format
Ymin4 bytesFloating point
Ymax4 bytesFloating point
Mode1 byte
  • Bit 0: Mouse interaction ON/OFF
  • Bit 1: Fit graph to right edge of canvas

Example

The picture below shows an example of a graph element with tree input plot inputs. The element data fields for the example is shown in the table below the picture.

: The appearance of elements will vary with operating system version and configuration.
Table 5-75. Graph
FieldValue
Z-index0
X-coordinate10
Y-coordinate10
Width500
Height250
Element type0x06
Title color0xFFFFFF
Background color0x000000
Graph background color0x646464
Title text“Graph\0”
Plot count3
Xmin0
Xmax100
Ymin0
Ymax2.45
Mode0x01