Dear Statalisters,
I'm trying to plot the breakdown of an aggregate measure by its components (countries). I have one variable per country. The code is the following:
`legorder' and `bcolor' are locals I use to define the legend and the bar colors. The output is the following:

What I would like to do is show only values for selected countries within bars, but I couldn't find any reference explaining how to do it.
Thanks in advance!
Federico
I'm trying to plot the breakdown of an aggregate measure by its components (countries). I have one variable per country. The code is the following:
Code:
graph bar (mean) country_variables, over(year, gap(*0.3) label(angle(45))) stack percent ytitle("%") legend(row(5) order(`legorder')) `bcolor' blabel(bar, format(%5.0f) position(center) size(vsmall))
What I would like to do is show only values for selected countries within bars, but I couldn't find any reference explaining how to do it.
Thanks in advance!
Federico
Comment