Chartjs-How can i remove the decimals from the tick when im zooming?

2👍

You could try to round the value on the percent y-axis within the ticks.callback function as follows:

{ 
  id:'y2',
  ...
  callback: value => Math.round(value) + "%"
}

Leave a comment