Dashboards & Visualizations

Pie chart percentage config - number of digits?

Communicator

I want to limit the number of the digits displayed in the percentages on piechart. Is there a way to do this? I've seen only a true/false toggle for the display

0 Karma

SplunkTrust
SplunkTrust

Try using the fieldformat command something like this.

... | chart ... as foo | fieldformat foo=round(foo,2)
---
If this reply helps you, an upvote would be appreciated.
0 Karma