how to make y axis only integers chart.js code example
Example: chart js y axis integer
options: {
scales: {
yAxes: [{
ticks: {
precision: 0
}
}]
}
}
options: {
scales: {
yAxes: [{
ticks: {
precision: 0
}
}]
}
}