1
0
mirror of https://github.com/craigerl/aprsd.git synced 2024-09-28 08:06:37 -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() {
Chart.scaleService.updateScaleDefaults('linear', {
ticks: {
min: 0
}
});
memory_chart = new Chart($("#memChart"), {
label: 'Memory Usage',
type: 'line',