From e60425e3c410d92ef70e31e9e99dff74c8b57446 Mon Sep 17 00:00:00 2001 From: Jeas0001 Date: Tue, 8 Apr 2025 14:08:19 +0200 Subject: [PATCH] Chart resizes with window size now --- frontend/scripts/home.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/scripts/home.js b/frontend/scripts/home.js index 9f00008..b2f6c4b 100644 --- a/frontend/scripts/home.js +++ b/frontend/scripts/home.js @@ -115,7 +115,8 @@ async function fetchData() { datasets: [], }, options: { - responsive: false, + responsive: true, + maintainAspectRatio: false, parsing: false, plugins: { tooltip: {