remove axis labels padding

This commit is contained in:
vcoppe
2024-04-21 12:18:54 +02:00
parent ef287c6583
commit 0bf10c85ca

View File

@@ -25,14 +25,16 @@
type: 'linear', type: 'linear',
title: { title: {
display: true, display: true,
text: 'Distance (km)' text: 'Distance (km)',
padding: 0
} }
}, },
y: { y: {
type: 'linear', type: 'linear',
title: { title: {
display: true, display: true,
text: 'Elevation (m)' text: 'Elevation (m)',
padding: 0
} }
}, },
y1: { y1: {
@@ -40,7 +42,8 @@
position: 'right', position: 'right',
title: { title: {
display: true, display: true,
text: 'Speed (km/h)' text: 'Speed (km/h)',
padding: 0
}, },
grid: { grid: {
display: false display: false
@@ -51,7 +54,8 @@
position: 'right', position: 'right',
title: { title: {
display: true, display: true,
text: 'Slope (%)' text: 'Slope (%)',
padding: 0
}, },
grid: { grid: {
display: false display: false