Dashboards & Visualizations

How to display percentage value INSIDE the pie chart?

prateedshetty
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?

Labels (1)

sureshp
Loves-to-Learn Lots

Similar issue i am facing any suggestions

 

0 Karma

paramagurukarth
Builder

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

sh254087
Communicator

@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

woodcock
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.

sh254087
Communicator

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

bollam
Path Finder

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

0 Karma

niketn
Legend

@prateedshetty, @bollam try Donut Custom Visualization

____________________________________________
| makeresults | eval message= "Happy Splunking!!!"
0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...