Skip to content

Commit

Permalink
Personanzahl&Co2 aktualisiert
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulaScharf committed Sep 12, 2024
1 parent f94ea5e commit 6d35b68
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions chart.js
Original file line number Diff line number Diff line change
Expand Up @@ -212,12 +212,12 @@ function changePhenomena(phenomena) {
case "visitors":
options.title.text = "Besucher im Nachhaltigkeitszentrum";
options.yaxis[0].title.text = "Personen";
fetchMeasurements(devices.afg5.devicedId, devices.afg5.illuminance);
fetchMeasurements(devices.afg5.devicedId, devices.afg5.Personenanzahl);
break;
case "carbon dioxide":
options.title.text = "CO2 im Nachhaltigkeitszentrum";
options.yaxis[0].title.text = "CO2 in ppm";
fetchMeasurements(devices.afg6.devicedId, devices.afg6.illuminance);
fetchMeasurements(devices.afg6.devicedId, devices.afg6.CO2Werte);
break
default:
break;
Expand Down

0 comments on commit 6d35b68

Please sign in to comment.