This commit is contained in:
Roslund
2025-05-16 20:50:41 +00:00
parent 1e0b8a7811
commit 0e28093c84
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ async function batteryStatsGraph() {
ctx.fillText('Loading battery data...', canvas.width / 2, canvas.height / 2);
try {
const response = await fetch('https://map.sthlm-mesh.se/api/v1/stats/battery-stats?days=7');
const response = await fetch('https://map.sthlm-mesh.se/api/v1/stats/battery-stats?days=30');
const data = await response.json();
const labels = data.map(entry => entry.recorded_at);
+1 -1
View File
@@ -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);