1👍
✅
Okay, I didn’t read properly…
Here’s the solution: https://jsfiddle.net/o4kyt69j/2/
The code should be:
options: {
plugins: {
datalabels: {
formatter: function(value) {
return value + " kWh";
}
}
}
}
Source:stackexchange.com