Based on the "Details" section of geom_bar documentation here, I see that in order to get show the data values one needs to use stat = "identity", but this renders the bars where the height of the stacked bar chart = a + b + c (each being components of the stack). I would like the bar chart to be max (a, b, c). Any ideas how one can do this?
Asked
Active
Viewed 375 times
1
-
To get some helpful responses I suggest adding some sample data and code. Also, if the bar height equals max(a, b, c) what happens to the other 2 values in that bar? – bdemarest Nov 03 '15 at 02:38
-
Sometimes it's easier to process your data first. But noone can properly help you with out a [reproducible example](http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example). – Heroka Nov 03 '15 at 08:36