0๐
โ
set stepSize: 1
for y-axis ticks :
...
public barChartOptions: any = {
scaleShowVerticalLines: false,
responsive: true,
scales: {
yAxes: [{
ticks: {
beginAtZero: true,
stepSize: 1 //<- set this
}
}]
},
};
...
0๐
it does not have good view for large data amount.
Source:stackexchange.com