For the purpose of clarity, I'll be using the auto.dta dataset included with Stata as an example in my query.
I would like to customize the order of sub-bars for specific bars of my charts. In this example, I would like to switch the order of the sub-bars for the "Foreign" bar only, so that the blue sub-bar appears on top of the red one. I'm currently using Stata 18. Any insight on this query would be greatly appreciated!
Thank you all for your time.
Code:
sysuse auto.dta, clear graph bar (sum) gear_ratio mpg, over(foreign) stack
Thank you all for your time.
Comment