[Chartjs]-Chart.js won't display percentage label when value is above 1000?

1👍

The problem is that formattedValue is a string and it uses commas as separators. Javascript can automatically turn a string into its numerical value IF there’s no invalid characters, but commas are invalid leading to your scenario of breaking over 1000.

You could use

let value = context.parsed;

Leave a comment