mirror of
https://github.com/Roslund/sthlm-mesh.git
synced 2026-08-08 01:43:07 +02:00
30 days for channel utilization
This commit is contained in:
@@ -9,7 +9,7 @@ async function channelUtilizationHourlyAverage() {
|
||||
ctx.fillText('Loading...', canvas.width/2, canvas.height/2);
|
||||
|
||||
try {
|
||||
const response = await fetch('https://map.sthlm-mesh.se/api/v1/stats/channel-utilization-stats?days=7');
|
||||
const response = await fetch('https://map.sthlm-mesh.se/api/v1/stats/channel-utilization-stats?days=30');
|
||||
const data = await response.json();
|
||||
|
||||
const labels = data.map(entry => entry.recorded_at);
|
||||
|
||||
Reference in New Issue
Block a user