ui: use byte unit and power-of-two base for memory rrd graphs
To better match the gauge in the current status infobox in the same summary panel, which is already using a format where KiB is 1024 the latter needs a (not yet bumped) widget toolkit update to 2.5-2 or newer, just setting now to avoid forgetting it. Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
52b31ee327
commit
e67d454a18
@ -148,6 +148,8 @@ Ext.define('PVE.node.Summary', {
|
||||
title: gettext('Memory usage'),
|
||||
fields: ['memtotal', 'memused'],
|
||||
fieldTitles: [gettext('Total'), gettext('RAM usage')],
|
||||
unit: 'bytes',
|
||||
powerOfTwo: true,
|
||||
store: rrdstore,
|
||||
},
|
||||
{
|
||||
|
@ -82,6 +82,8 @@ Ext.define('PVE.qemu.Summary', {
|
||||
pveSelNode: me.pveSelNode,
|
||||
fields: ['maxmem', 'mem'],
|
||||
fieldTitles: [gettext('Total'), gettext('RAM usage')],
|
||||
unit: 'bytes',
|
||||
powerOfTwo: true,
|
||||
store: rrdstore,
|
||||
},
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user