begin y at 0

This commit is contained in:
Thomas Forgione 2018-11-21 10:50:19 +01:00
parent 52ac07b716
commit 7f9e3a7487
No known key found for this signature in database
GPG Key ID: 203DAEA747F48F41
1 changed files with 7 additions and 0 deletions

View File

@ -59,6 +59,13 @@ function setData(data) {
title: { title: {
display: true, display: true,
text: 'Histogram of times of lessons' text: 'Histogram of times of lessons'
},
scales: {
yAxes: [{
ticks: {
beginAtZero: true
}
}]
} }
} }
}).update(); }).update();