horizontal chart not starting from 0 chart.js code example
Example: chartjs start at 0
new Chart(ctx, {
type: 'line',
data: data,
options: {
scales: {
yAxes: [{
ticks: {
beginAtZero: true
}
}]
}
}
})