I would like to be able to see percentages for each bar in a bar graph for top values, just like a donut chart displays it. Is this planned to be added in the future or is the donut chart my only option if I want percentages for top values?
(I'm running 8.1.2.)
This is illustrated by the picture below where I first created a bar chart, then cloned the panel and changed to donut. Same underlying data, but I can only get percentages for the donut type.
If you only care about percentage, you can use the Lens formula to do the calculation (there is a downside to this though - you won't be able to rank by the formula):
I just realized that not being able to rank is a bigger drawback than I first thought: I have quite a few visualizations where I have more values than number of bars (where I group them in an "Other" bucket). Without ranking support, any value might end up in the "Other" bucket, not just the smallest buckets. So I'm back with showing counts or switching to pie/donut charts.
I don't really see why bar visualizations can't have the same features as pie/donut visualizations. After all, it's exactly the same data where the sizes of the bars directly correspond to the sizes of the slices.
In general, it would be nice to have the option of showing percentages everywhere, e.g. in the tooltip on a line chart with multiple lines. I believe that presenting both count and percentage would add much value.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.