diff --git a/assets/charts/schuelerzahlen.js b/assets/charts/schuelerzahlen.js index 9a7b6e2b..e94b28e5 100644 --- a/assets/charts/schuelerzahlen.js +++ b/assets/charts/schuelerzahlen.js @@ -22,7 +22,8 @@ import * as json from "./schuelerzahlen.json"; var lines = params.map( (p) => `${p.seriesName}: ${p.value}${p.seriesName == "Anteil Mädchen" ? "%" : ""}` ); - return lines.join("
"); + console.log(params); + return `${params[0].name}
${lines.join("
")}`; }, }, xAxis: {