Thomas Lamprecht
e662b4a0b8
rrd charts: add legend to header for better space usage
...
Docking the legend to the bottom took space away from the chart, and
was the just used as the simplest solution when it was implemented.
The panel header has enough spaces for any reasonable number of
different series in a chart, so move it there.
Drop then the legend toggle tool from the header as it isn't required
anymore..
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-05-29 19:21:14 +02:00
Thomas Lamprecht
efa61051ac
rrd charts: cleanup
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-05-29 19:21:14 +02:00
Thomas Lamprecht
c58d410099
rrd charts: render 3 decimal points for small values
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-05-29 19:21:14 +02:00
Aaron Lauterer
13fc756dfd
tree-wide trailing whitespace cleanup
...
Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-09-30 08:00:34 +02:00
Dominik Csapak
9950ec0f7d
RRDChart.js: add the seriesConfig parameter
...
so that we can override the the series with custom options like 'color'
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-10-11 06:46:50 +02:00
Dominik Csapak
fcb5b70f0e
RRDChart.js: add the noTool parameter
...
so that we can omit the panel header
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-10-11 06:45:39 +02:00
Dominik Csapak
51613acea2
RRDChart.js: use the fieldtitle or fieldname as axistitle
...
if no unit applies
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-10-11 06:45:06 +02:00
Dietmar Maurer
0c786d2b08
add RRDChart class
2017-08-29 08:43:50 +02:00