]> git.proxmox.com Git - proxmox-widget-toolkit.git/commit - src/panel/RRDChart.js
rrd charts: add legend to header for better space usage
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 29 May 2020 17:16:18 +0000 (19:16 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 29 May 2020 17:21:14 +0000 (19:21 +0200)
commite662b4a0b80ca4896de933786c63fd043679fffc
treec4bb1347c90b72f751adea5123ffb69745ab1a52
parentefa61051ac4d372370b2fbf55adf802905cc9a01
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>
panel/RRDChart.js