ui: usage graph: show axis and set maximum
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
a6e746f652
commit
0a4dfd63c9
@ -27,8 +27,11 @@ Ext.define('PBS.widget.UsageChart', {
|
|||||||
{
|
{
|
||||||
type: 'numeric',
|
type: 'numeric',
|
||||||
position: 'right',
|
position: 'right',
|
||||||
hidden: true,
|
hidden: false,
|
||||||
minimum: 0,
|
minimum: 0,
|
||||||
|
// TODO: make this configurable?!
|
||||||
|
maximum: 1,
|
||||||
|
renderer: (axis, label) => `${label*100}%`,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
type: 'time',
|
type: 'time',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user