router.html: Add maximum value for airtime plot

This will cut defective 5 GHz data bigger than 100 %.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
This commit is contained in:
Adrian Schmutzler 2018-03-08 23:23:56 +01:00
parent 037c60d88d
commit 6e9d7d1dda
1 changed files with 1 additions and 1 deletions

View File

@ -371,7 +371,7 @@ function airtime_graph() {
var plot = $.plot(airstat, pdata, {
xaxis: {mode: "time", timezone: "browser"},
selection: {mode: "x"},
yaxis: {min: 0},
yaxis: {min: 0, max: 100},
legend: {noColumns: 2, hideable: true},
series: {downsample: {threshold: Math.floor(airstat.width() * points_per_px)}}
});