Annotate data values on pie chart slices chartjs


Instead of showing the number on the tooltip like this can I just show it as a text there explicitly without any hover the number should be visible.

For context the chart that is being used is pie chart from chartjs lib. and it is not guided its in advanced mode. Few solutions on online involves tampering with config object o=upon creation of new chart. Wondering how to do that in no code :slight_smile:

1 Like

I have the same question here @karthik , were you able to find a solution?

Hey @Amos , I checked few blogs and tutorials they have been able to do it with a function inside options which operates based on context. I couldn’t do it on no code by plugging in options with some vannila js , I probably would need a vuejs codebase of this which I currently do not have :sweat_smile: