Hi
I use the following code to generate stacked bar-chart. In each bar, the intervening cumulative numbers are shown (e.g. for column 2 (mpg= 14), each cumulative count : 1,3,5 are shown, for mpg=18 ,1,..,9 is shown). I want to show only the final cumulative count at the top (i.e only show 5 for mpg=14, and 9 for mpg=18).
I would appreciate help on this. It seems like a simple fix but I couldnt find anything in documentation and other examples posted under blabel search on this forum. Thanks for your help.
sysuse auto
graph bar (count)foreign, over(rep78) over(mpg) blabel(total) asyvars stack
I use the following code to generate stacked bar-chart. In each bar, the intervening cumulative numbers are shown (e.g. for column 2 (mpg= 14), each cumulative count : 1,3,5 are shown, for mpg=18 ,1,..,9 is shown). I want to show only the final cumulative count at the top (i.e only show 5 for mpg=14, and 9 for mpg=18).
I would appreciate help on this. It seems like a simple fix but I couldnt find anything in documentation and other examples posted under blabel search on this forum. Thanks for your help.
sysuse auto
graph bar (count)foreign, over(rep78) over(mpg) blabel(total) asyvars stack
Comment