Hi everyone,
I am new to grafana and need to customize piechart. Please forgive me if I ask some kind of primary question.
-Grafana version -8.1.1
-Database - Mysql
I am using pie chart -doughnut option to show male and female statistics of some parameter. We can get the total of male and female and need to visualize it in the middle of the doughnut like in the attached picture. And I need to keep the legend in the bottom right corner.
I don’t believe there is a way to do that using the Pie Chart’s panel editor. You’d have to hack on the Pie Chart code to get it to display like that. Same with the legend, although you can toggle legend placement between bottom
and right
. The the panel editor for that option
Hi @mattabrams,
Do you have any idea how to do that? I tried to do it with downloading piechart plugin. This is the link for it Pie Chart plugin for Grafana | Grafana Labs. I have done some code changes. But when I applied to Grafana, my code is not working. I want to know the exact way that how can I do that? If you have any possibility, please help me. Thank you so much for your response.
for Grafana development this is probably the best place to start:
Thank you so much mattabrams. I will try this.
We have the solution for this problem please follow the document attached
Pie chart documentation
Shanker Agarwal
(Grafana Architect)
shanker.agarwal@dataabsolute.com