The monitor_graph
command returns a PNG image file with the selected real time chart. This is the same chart that is shown in the Monitor information page. Before a chart can be extracted, the chart must be enabled using the Monitor information page.
Syntax
http://localhost/knm/extract.xsi?cmd=monitor_graph&apikey=D05200B0CFAF0437BA8EF9ED6E8889D1&id=8¶m1=2&deviceid=2
cmd |
monitor_graph |
apikey |
KNM user's API Key |
id |
ID number of monitor |
param1 |
Zero based index of chart to retrieve. The index is based on enabled graphs. |
deviceid |
ID of asset |
Returned data
A PNG image file with the default size of 747x120 pixels and a color depth of 3 bytes per pixel.