mirror of
https://git.proxmox.com/git/proxmox-widget-toolkit
synced 2025-05-29 13:51:50 +00:00
rrd: only move legend to header if both exists
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
335b5f3747
commit
0855ba611e
@ -122,8 +122,11 @@ Ext.define('Proxmox.widget.RRDChart', {
|
||||
me.axes[0].setTitle(axisTitle);
|
||||
|
||||
me.updateHeader();
|
||||
|
||||
if (me.header && me.legend) {
|
||||
me.header.padding = '4 9 4';
|
||||
me.header.add(me.legend);
|
||||
}
|
||||
|
||||
if (!me.noTool) {
|
||||
me.addTool({
|
||||
|
Loading…
Reference in New Issue
Block a user