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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Thanks for the Memories! Splunk University, .conf25, and our Community

Thank you to everyone in the Splunk Community who joined us for .conf25, which kicked off with our iconic ...

Data Persistence in the OpenTelemetry Collector

This blog post is part of an ongoing series on OpenTelemetry. What happens if the OpenTelemetry collector ...

Introducing Splunk 10.0: Smarter, Faster, and More Powerful Than Ever

Now On Demand Whether you're managing complex deployments or looking to future-proof your data ...