re chartjs 2 setting y axios with integer number code example
Example: chart js y axis integer
options: {
scales: {
yAxes: [{
ticks: {
precision: 0
}
}]
}
}
options: {
scales: {
yAxes: [{
ticks: {
precision: 0
}
}]
}
}