The tree map has so far only displayed data based on the so-called functions (Hauptfunktion, Oberfunktion and Funktion). This pull request implements a new button in the UI of the treemap, which allows you to select whether the treemap should be generated based on the functions or instead on the individual plans (Bereich, Einzelpläne, Kapitel). I named the variable behind the button "modus". Depending on what the modus is, other requests are made to the API (controlled by the if queries). I had to make some adjustments for this. I hope every thing is okay.
The tree map has so far only displayed data based on the so-called functions (Hauptfunktion, Oberfunktion and Funktion). This pull request implements a new button in the UI of the treemap, which allows you to select whether the treemap should be generated based on the functions or instead on the individual plans (Bereich, Einzelpläne, Kapitel). I named the variable behind the button "modus". Depending on what the modus is, other requests are made to the API (controlled by the if queries). I had to make some adjustments for this. I hope every thing is okay.