Dashboards & Visualizations

How to display Percentage value INSIDE the pie chart?

Path Finder

I'm aware of -

<option name="charting.chart.showPercent">true</option>

But that's not what I'm looking for. I'm hoping to display the percentage value inside the slices of the pie chart. Also is there a way we can round off these percentage value?

There is no such option in splunk charting https://docs.splunk.com/Documentation/SplunkCloud/7.0.0/Viz/ChartConfigurationReference#Pie_charts

Also this is practically not possible in a pie chart... Each slice may of different size.. Writing text over that might be overlapped and confusing..

Only way to provide static text is without mouse hover is showing labels..
alt text

I tried adding the percentage to the label.. Seems no option is there...

Please try investigate in that angle


@paramagurukarthikeyan true this will add the % next to the label.

But here what is asked is different.
As you've mentioned initially, displaying the percentage inside the slice without hovering is not available.

0 Karma

Esteemed Legend

He explained that thoroughly; not only is it not possible, even if it were possible, it is not practical and would be a terrible idea. He went above-and-beyond to give you a workable alternative.


Right; I just responded to the last point he has mentioned - "I tried adding the percentage to the label.. Seems no option is there..."

0 Karma

Path Finder

Can someone assist on this? Even I'm having the same question

0 Karma


@prateedshetty, @bollam try Donut Custom Visualization

| makeresults | eval message= "Happy Splunking!!!"
0 Karma