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!

Detecting Remote Code Executions With the Splunk Threat Research Team

REGISTER NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If ...

Observability | Use Synthetic Monitoring for Website Metadata Verification

If you are on Splunk Observability Cloud, you may already have Synthetic Monitoringin your observability ...

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...