From 8f9d49443706705b7ca3a0ff58124c068a54ae88 Mon Sep 17 00:00:00 2001 From: billz Date: Sun, 3 Nov 2019 17:02:45 +0000 Subject: [PATCH] Adjust chartjs linkQuality graph --- app/js/linkquality.js | 2 +- templates/dashboard.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/js/linkquality.js b/app/js/linkquality.js index 6835baa2..6e8dd34b 100644 --- a/app/js/linkquality.js +++ b/app/js/linkquality.js @@ -1,5 +1,4 @@ // Link quality gauge for ChartJS -// console.log(linkQ); // Support for dark terminal theme theme = getCookie('theme'); @@ -27,6 +26,7 @@ let config = { type: 'doughnut', data: data1, options: { + aspectRatio: 2, responsive: true, tooltips: {enabled: false}, hover: {mode: null}, diff --git a/templates/dashboard.php b/templates/dashboard.php index 08820833..074d54f9 100755 --- a/templates/dashboard.php +++ b/templates/dashboard.php @@ -38,7 +38,7 @@ $ifaceStatus = $wlan0up ? "up" : "down";
-
+