1
0
mirror of https://github.com/craigerl/aprsd.git synced 2025-08-04 06:22:25 -04:00

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.
This commit is contained in:
Hemna 2021-04-02 11:57:06 -04:00
parent d6806c429c
commit 3ac42edd82

View File

@ -30,6 +30,12 @@
}; };
function start_charts() { function start_charts() {
Chart.scaleService.updateScaleDefaults('linear', {
ticks: {
min: 0
}
});
memory_chart = new Chart($("#memChart"), { memory_chart = new Chart($("#memChart"), {
label: 'Memory Usage', label: 'Memory Usage',
type: 'line', type: 'line',