try this:
http://answers.splunk.com/answers/58985/pie-chart-data-labels
Have the showPercent to "true." The default is false. It will show the label and the percent next to it.
Example:
true
Like showPercent do we have something like showCount to show the count as well not just only the percentage
You can display the counts by editing your search string. For example, if you want to show the count of each "ServerIP
", you can do this:
... | stats count by ServerIP | sort -count | eval ServerIP=ServerIP." (".count.")"
which results in the counts being displayed in parentheses next to their values.
I used http://answers.splunk.com/answers/154860/how-to-aggregate-percentage-information-in-pie-chart-labels... that works like a charm
<option name="charting.chart.showPercent">true</option>
in my case above option was name not present in the source but still i added above lines in my source and that worked for me.
Same with me - I had to copy / paste in the whole line. Works great
They are visible as tool tip. If you want to update the label shown on the chart, you need to update your search. See this for reference.
http://answers.splunk.com/answers/91517/displaying-count-as-label-in-pie-graph
try this:
http://answers.splunk.com/answers/58985/pie-chart-data-labels
Have the showPercent to "true." The default is false. It will show the label and the percent next to it.
Example:
true
I downvoted this post because mistake
Hi @AndyMarr, did you mean you accidentally upvoted it, or the answer is a mistake? Let us know so we can make sure the Answers forum is useful for our community members and so members don't lose points after giving working answers from being downvoted.
Yes, I upvoted the wrong one
Thanks for the clarification. Just so you know-- when you downvote it takes away karma points from your own profile and from the user you downvote, so please use that feature judiciously for posts you come across that include poor etiquette or incorrect/ misleading answers/content. We have a karma points contest going on, so every point counts. Happy Splunking!
updated answer to say option
awesome, that worked....however, I just had to change