Set X axis to begin at zero

This commit is contained in:
baz 2025-01-07 23:14:49 +00:00
parent f9648e4d50
commit 092a9dad6a
1 changed files with 2 additions and 1 deletions

View File

@ -95,7 +95,8 @@ module.exports = {
options: {
scales: {
x: {
beginAtZero: false,
beginAtZero: true,
min: 0,
max: labels.length + 1,
type: 'linear',
position: 'bottom',