chart js bar chart yaxis from 1 to 10 code example
Example: chartjs start at 0
new Chart(ctx, {
type: 'line',
data: data,
options: {
scales: {
yAxes: [{
ticks: {
beginAtZero: true
}
}]
}
}
})