From 0bf10c85cacd473cb2c15d2f20d58dbc4582434d Mon Sep 17 00:00:00 2001 From: vcoppe Date: Sun, 21 Apr 2024 12:18:54 +0200 Subject: [PATCH] remove axis labels padding --- website/src/lib/components/ElevationProfile.svelte | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/website/src/lib/components/ElevationProfile.svelte b/website/src/lib/components/ElevationProfile.svelte index 965afa6a..9774b614 100644 --- a/website/src/lib/components/ElevationProfile.svelte +++ b/website/src/lib/components/ElevationProfile.svelte @@ -25,14 +25,16 @@ type: 'linear', title: { display: true, - text: 'Distance (km)' + text: 'Distance (km)', + padding: 0 } }, y: { type: 'linear', title: { display: true, - text: 'Elevation (m)' + text: 'Elevation (m)', + padding: 0 } }, y1: { @@ -40,7 +42,8 @@ position: 'right', title: { display: true, - text: 'Speed (km/h)' + text: 'Speed (km/h)', + padding: 0 }, grid: { display: false @@ -51,7 +54,8 @@ position: 'right', title: { display: true, - text: 'Slope (%)' + text: 'Slope (%)', + padding: 0 }, grid: { display: false