From 804451cc377c5676994d1c016c27b754ade0edf3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Wed, 24 Oct 2018 11:46:39 -0400 Subject: [PATCH] update axis ids --- public/src/admin/general/dashboard.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/public/src/admin/general/dashboard.js b/public/src/admin/general/dashboard.js index 09054a2e76..bd0e32c2c8 100644 --- a/public/src/admin/general/dashboard.js +++ b/public/src/admin/general/dashboard.js @@ -216,7 +216,10 @@ define('admin/general/dashboard', ['semver', 'Chart', 'translator', 'benchpress' trafficCanvas.width = $(trafficCanvas).parent().width(); data.datasets[0].yAxisID = 'left-y-axis'; - data.datasets[1].yAxisID = 'right-y-axis'; + data.datasets[1].yAxisID = 'left-y-axis'; + data.datasets[2].yAxisID = 'left-y-axis'; + data.datasets[3].yAxisID = 'left-y-axis'; + data.datasets[4].yAxisID = 'right-y-axis'; graphs.traffic = new Chart(trafficCtx, { type: 'line',