This element is for plotting graphs. It represents a specialized handy frontend for the <canvas> by taking value by value.

| Name | Type | Default Value | Description |
|---|---|---|---|
| bg-color | color | The background color. | |
| color | color | navy | The plot color. |
| scale-bidir | boolean | false | Enables scaling of the lower boundary, so negative values won't 'drop off'. |
| scale-holdmax | boolean | false | Enables a hold-function on the scaling. When the scaling is changed because of large values, it will not return to the default scaling once those large values have disappeared from the history. |
| size | integer | 50 | The numbers of values stored in the history. |
| value | integer | The next value to append to the history of values. Values may range from 0 to 100, but if you supply values greater than 100, the graph will scale accordingly. |
<display bg-color="white" anchor="center" x="50%" y="50%">
<control id="sys" interface="ISystem:4i4p0jtvdz87qx44x2dm97ltj"/>
<plotter width="100" height="100" size="100" id="plotter" color="black"/>
<script><![CDATA[
def cpu_handler():
Dsp.plotter.value = sys.cpu_load
return True
add_timer(500, cpu_handler)
]]></script>
</display>