Skip to content

Commit 3ee7d31

Browse files
committed
Fix up admin CP graphs
1 parent aa54e65 commit 3ee7d31

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

resources/views/admin/nodes/view.blade.php

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -521,7 +521,7 @@
521521
// Charting Methods |
522522
// -----------------+
523523
var memoryGraphSettings = {
524-
title: 'Memory Usage',
524+
title: 'Memory Usage (MB)',
525525
data: [{
526526
'date': new Date(),
527527
'memory': -1
@@ -531,11 +531,12 @@
531531
target: document.getElementById('chart_memory'),
532532
x_accessor: 'date',
533533
y_accessor: 'memory',
534+
y_rug: true,
534535
area: false,
535536
};
536537
537538
var cpuGraphSettings = {
538-
title: 'CPU Usage',
539+
title: 'CPU Usage (%)',
539540
data: [{
540541
'date': new Date(),
541542
'cpu': -1
@@ -545,6 +546,7 @@
545546
target: document.getElementById('chart_cpu'),
546547
x_accessor: 'date',
547548
y_accessor: 'cpu',
549+
y_rug: true,
548550
area: false,
549551
};
550552
@@ -559,6 +561,7 @@
559561
target: document.getElementById('chart_players'),
560562
x_accessor: 'date',
561563
y_accessor: 'players',
564+
y_rug: true,
562565
area: false,
563566
};
564567

0 commit comments

Comments
 (0)