From 2233aa1e1abe0bc800a242721e9a368a160eae36 Mon Sep 17 00:00:00 2001 From: Kelechi David Okoro Date: Thu, 14 Nov 2024 14:43:34 +0100 Subject: [PATCH] assets/charts/schuelerzahlen.js aktualisiert --- assets/charts/schuelerzahlen.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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: {