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:
parent
037c60d88d
commit
6e9d7d1dda
|
@ -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)}}
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue