How to add text in the middle of the doughnut graph? #11256
Unanswered
VadimChorrny
asked this question in
Q&A
Replies: 2 comments 3 replies
-
@LeeLenaleee can you help me? |
Beta Was this translation helpful? Give feedback.
0 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). |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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%"
Beta Was this translation helpful? Give feedback.
All reactions