assets/charts/schuelerzahlen.js aktualisiert
All checks were successful
Website Prod/Test / Produktivumgebung (push) Successful in 18s
Website Prod/Test / Testumgebung (push) Successful in 12s

This commit is contained in:
Kelechi David Okoro 2024-11-14 14:43:34 +01:00
parent 81568076db
commit 2233aa1e1a

@ -22,7 +22,8 @@ import * as json from "./schuelerzahlen.json";
var lines = params.map( var lines = params.map(
(p) => `<b>${p.seriesName}:</b> ${p.value}${p.seriesName == "Anteil Mädchen" ? "%" : ""}` (p) => `<b>${p.seriesName}:</b> ${p.value}${p.seriesName == "Anteil Mädchen" ? "%" : ""}`
); );
return lines.join("<br>"); console.log(params);
return `${params[0].name}<br>${lines.join("<br>")}`;
}, },
}, },
xAxis: { xAxis: {