ui: usage graph: show axis and set maximum

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2020-11-10 11:46:00 +01:00
parent a6e746f652
commit 0a4dfd63c9

View File

@ -27,8 +27,11 @@ Ext.define('PBS.widget.UsageChart', {
{
type: 'numeric',
position: 'right',
hidden: true,
hidden: false,
minimum: 0,
// TODO: make this configurable?!
maximum: 1,
renderer: (axis, label) => `${label*100}%`,
},
{
type: 'time',