From 3ac42edd823723ed06e86de0486de15a111b6275 Mon Sep 17 00:00:00 2001 From: Hemna Date: Fri, 2 Apr 2021 11:57:06 -0400 Subject: [PATCH] Force all the graphs to 0 minimum This patch updates all the graphs to have a minimum Y value of 0. Doesn't make sense to have negative messages. --- aprsd/web/templates/index.html | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/aprsd/web/templates/index.html b/aprsd/web/templates/index.html index 7c59d8c..382cde0 100644 --- a/aprsd/web/templates/index.html +++ b/aprsd/web/templates/index.html @@ -30,6 +30,12 @@ }; function start_charts() { + Chart.scaleService.updateScaleDefaults('linear', { + ticks: { + min: 0 + } + }); + memory_chart = new Chart($("#memChart"), { label: 'Memory Usage', type: 'line',