This element shows the relation of two numeric variables in an X/Y diagram, featuring a 'trace' which shows the recent history of the values with a configurable depth. The update rate, the diagram scaling and much more is configurable with this screen element.
Data Model (extends ScreenElement)
| Key | Type | Value |
|---|---|---|
| type | String | Always "TextElement". |
| xpos | Number | see ScreenElement |
| ypos | Number | see ScreenElement |
| width | Number | see ScreenElement |
| height | Number | see ScreenElement |
| idx | String | The message ID of the parameter to show at the x-axis |
| idy | String | The message ID of the parameter to show at the y-axis |
| label | String | The label to be drawn above the diagram |
| font | String | The font to be used |
| color | String | The color used for the label (#RRGGBB) |
| divisions | Number | The number of divisions shown in the diagram for both directions. Typical values are 2 ('hair cross'), 4 or 10. |
| interval | Number | The update time interval for the display in seconds. 0.1 means to add every 100msec a new value to the display and remove the oldest value from the buffer at the same time. |
| bufsize | Number | The display maintains a "first in first out" buffer of a size defined with this parameter. The buffer provides a short time memory the display shows as a trace of past values. Typical values are in the range 100-300. |
| xorigin | Number | The value to be shown at the center of the x axis |
| yorigin | Number | The value to be shown at the center of the y axis |
| xscale | Number | The x axis scale in 1/division |
| yscale | Number | The y axis scale in 1/division |
| limits | Boolean | If true, the display monitors the actual X/Y values to be within the limits defined below. The limit values are shown as a dark red rectangle. When the actual X/Y values exceed the limits, the diagram background becomes red. |
| minx | Number | The lower x limit to check. Only meaningful if limits is true. |
| maxx | Number | The upper x limit to check. Only meaningful if limits is true. |
| miny | Number | The lower y limit to check. Only meaningful if limits is true. |
| maxy | Number | The upper y limit to check. Only meaningful if limits is true. |