How I add the thousand separator in the data label YAxes?
you can add your own formatting method in options for chart
const options = {
scales: {
yAxes: [{
ticks: {
callback(value) {
// you can add your own method here (just an example)
return Number(value).toLocaleString('en')
}
}
}]
}
}
<Line options={options} data={data} />
Most helpful comment
you can add your own formatting method in options for chart