From 3f52a5b410d9055820d4de3201c50d399a128490 Mon Sep 17 00:00:00 2001 From: Daniel Strano Date: Thu, 23 Feb 2023 14:19:35 -0500 Subject: [PATCH] #795: Add chart padding --- src/components/SotaChart.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/SotaChart.js b/src/components/SotaChart.js index 8d99329c..6c3b9993 100644 --- a/src/components/SotaChart.js +++ b/src/components/SotaChart.js @@ -253,7 +253,8 @@ class SotaChart extends React.Component { maintainAspectRatio: false, layout: { padding: { - right: this.state.windowWidth >= 820 ? 100 : undefined + left: this.state.windowWidth >= 820 ? 40 : 8, + right: this.state.windowWidth >= 820 ? 100 : 16 } }, scales: {