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!

Splunk Smartness with Brandon Sternfield | Episode 3

Hello and welcome to another episode of "Splunk Smartness," the interview series where we explore the power of ...

Monitoring Postgres with OpenTelemetry

Behind every business-critical application, you’ll find databases. These behind-the-scenes stores power ...

Mastering Synthetic Browser Testing: Pro Tips to Keep Your Web App Running Smoothly

To start, if you're new to synthetic monitoring, I recommend exploring this synthetic monitoring overview. In ...