From b71513a74b96f1c0eb589aa1875cff72d7e01237 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20B=C3=B6ckelmann?= Date: Sun, 19 Nov 2023 15:36:34 +0100 Subject: [PATCH] Choose between ChartType --- .../taskgroup-activity.component.html | 8 +++++++- .../taskgroup-activity.component.ts | 12 +++++++----- 2 files changed, 14 insertions(+), 6 deletions(-) diff --git a/frontend/src/app/statistics/taskgroup-activity/taskgroup-activity.component.html b/frontend/src/app/statistics/taskgroup-activity/taskgroup-activity.component.html index b4d43c1..39ee84d 100644 --- a/frontend/src/app/statistics/taskgroup-activity/taskgroup-activity.component.html +++ b/frontend/src/app/statistics/taskgroup-activity/taskgroup-activity.component.html @@ -1,11 +1,17 @@
- + Toppings {{topping.taskgroupPath}} + + Toppings + + {{topping}} + +
{ + return { series: this.generateSeries(), chart: { - height: 350, - type: "bar", - stacked: false + height: 350, + type: this.selectedChartype as ChartType, + stacked: true }, title: { text: ""