From 3a0297311dd9539e677d58ce1fb13a4d95b4e6c0 Mon Sep 17 00:00:00 2001 From: Tobias Peper Date: Fri, 11 Apr 2025 20:00:44 +0200 Subject: [PATCH] Aktueller Stand --- src/app/app.component.html | 6 +++--- src/app/chart/chart.component.html | 2 +- src/app/chart/chart.component.ts | 2 ++ 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/app/app.component.html b/src/app/app.component.html index 3222c53..66ae61c 100644 --- a/src/app/app.component.html +++ b/src/app/app.component.html @@ -46,7 +46,7 @@
- +
@@ -56,7 +56,7 @@
- +
@@ -66,7 +66,7 @@
- +
diff --git a/src/app/chart/chart.component.html b/src/app/chart/chart.component.html index 1bde57f..ee4f8bf 100644 --- a/src/app/chart/chart.component.html +++ b/src/app/chart/chart.component.html @@ -1,3 +1,3 @@ -
+
diff --git a/src/app/chart/chart.component.ts b/src/app/chart/chart.component.ts index e10ce91..269b5a6 100644 --- a/src/app/chart/chart.component.ts +++ b/src/app/chart/chart.component.ts @@ -35,6 +35,8 @@ export class ChartComponent implements OnInit, OnChanges { this.chart = new Chart('canvas', { type: 'line', options: { + responsive: true, + maintainAspectRatio: false, scales: { x: { type: 'time',