Basic question but I'm struggling. Title basically says it all. How do you order a stacked bar chart by the total heights of the bars?
Basic example:
Basic example:
Code:
sysuse auto, clear gen category = mod(_n,3) replace category = 3 in 3/6 graph hbar (count), over(foreign) over(category) asyvars stack
Comment