From 5ad7855d631a51d9a1cff734048b57f98685a195 Mon Sep 17 00:00:00 2001
From: Simon Reinisch <simon@reinisch.io>
Date: Sun, 21 Apr 2024 18:52:52 +0200
Subject: [PATCH] feat: improve chart margins

---
 .../all-time/stacked-line-chart/StackedLineChart.vue      | 6 +++---
 .../summary/widgets/charts/line-chart/LineChart.vue       | 8 ++++----
 2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/src/app/pages/dashboard/all-time/stacked-line-chart/StackedLineChart.vue b/src/app/pages/dashboard/all-time/stacked-line-chart/StackedLineChart.vue
index eeca8e7..528fcb5 100644
--- a/src/app/pages/dashboard/all-time/stacked-line-chart/StackedLineChart.vue
+++ b/src/app/pages/dashboard/all-time/stacked-line-chart/StackedLineChart.vue
@@ -37,10 +37,10 @@ const options = computed(
       itemStyle: { opacity: 0 }
     },
     grid: {
-      left: '3%',
-      right: '4%',
+      left: 0,
+      right: '5px',
       bottom: '3%',
-      top: '35px',
+      top: '30px',
       containLabel: true
     },
     tooltip: {
diff --git a/src/app/pages/dashboard/summary/widgets/charts/line-chart/LineChart.vue b/src/app/pages/dashboard/summary/widgets/charts/line-chart/LineChart.vue
index 16c61a7..8da19e5 100644
--- a/src/app/pages/dashboard/summary/widgets/charts/line-chart/LineChart.vue
+++ b/src/app/pages/dashboard/summary/widgets/charts/line-chart/LineChart.vue
@@ -36,10 +36,10 @@ const options = computed(
       itemStyle: { opacity: 0 }
     },
     grid: {
-      left: '3%',
-      right: '4%',
-      bottom: '3%',
-      top: '35px',
+      left: 0,
+      right: '3%',
+      bottom: 0,
+      top: '30px',
       containLabel: true
     },
     xAxis: {