0👍
✅
So plugins.tooltip.callbacks.label
seems to do the job.
I don’t like the way it looks, so happy to see if there’s smoother way to do it
polarOptions() {
return {
plugins: {
tooltip: {
callbacks: {
label(context: any) {
const value = (context.raw * 100).toFixed(1);
return `${context.dataset.label}: ${value}%`;
},
},
},
},
...
Source:stackexchange.com