how to show integers only on axes in bar react-chartjs-2 code example
Example: chart js y axis integer
options: {
scales: {
yAxes: [{
ticks: {
precision: 0
}
}]
}
}
options: {
scales: {
yAxes: [{
ticks: {
precision: 0
}
}]
}
}