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;
Source:stackexchange.com