How to add text in the middle of the doughnut graph? #11256
Unanswered
vadymchornyidev
asked this question in
Q&A
Replies: 2 comments 3 replies
|
@VadimChorrny I think you need a plugin to do that. There is https://github.com/ciprianciurea/chartjs-plugin-doughnutlabel but not sure if is maintained and it works with last Chart.js version. It could be also a good starting point for your plugin, I guess. Another option (but not available yet) could be to use the annotation plugin (se PR chartjs/chartjs-plugin-annotation#825). |
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
My code:
How do I add text to the middle of the graphic?
For example, in the middle of the circle, there will be "80%"
All reactions