0👍
you need to start the x
axis with 0
,
that is how its done:
version 3.x
options: {
scales: {
x: {
beginAtZero: true
}
}
}
try to explore the documentation of charts js at:
here
Source:stackexchange.com