From 3ee7d31fa62ebc09a4531dd18687086a87289d19 Mon Sep 17 00:00:00 2001 From: Dane Everitt Date: Sat, 6 Feb 2016 13:33:36 -0500 Subject: [PATCH] Fix up admin CP graphs --- resources/views/admin/nodes/view.blade.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/resources/views/admin/nodes/view.blade.php b/resources/views/admin/nodes/view.blade.php index 047232f55..acc3721b0 100644 --- a/resources/views/admin/nodes/view.blade.php +++ b/resources/views/admin/nodes/view.blade.php @@ -521,7 +521,7 @@ $(document).ready(function () { // Charting Methods | // -----------------+ var memoryGraphSettings = { - title: 'Memory Usage', + title: 'Memory Usage (MB)', data: [{ 'date': new Date(), 'memory': -1 @@ -531,11 +531,12 @@ $(document).ready(function () { target: document.getElementById('chart_memory'), x_accessor: 'date', y_accessor: 'memory', + y_rug: true, area: false, }; var cpuGraphSettings = { - title: 'CPU Usage', + title: 'CPU Usage (%)', data: [{ 'date': new Date(), 'cpu': -1 @@ -545,6 +546,7 @@ $(document).ready(function () { target: document.getElementById('chart_cpu'), x_accessor: 'date', y_accessor: 'cpu', + y_rug: true, area: false, }; @@ -559,6 +561,7 @@ $(document).ready(function () { target: document.getElementById('chart_players'), x_accessor: 'date', y_accessor: 'players', + y_rug: true, area: false, };