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:
parent
d6806c429c
commit
3ac42edd82
@ -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',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user