Dear all,
Is there a way to make sure that the data labels above the bars are inside the white plot region?
The command I used to generate the graph was
Is there a way to make sure that the data labels above the bars are inside the white plot region?
The command I used to generate the graph was
Code:
graph bar percap_total1 percap_total2 percap_total3 percap_total4 percap_total5 /// percap_total6 percap_total7 percap_total8 percap_total9 if year==2015 & selection==1, /// over(location, label(angle(90) labsize(small)) sort(percap_total) descending) /// ytitle("") yscale(off) blabel(total, orientation(vertical) size(small) format(%9.0f)) legend(off) nofill /// bar(1, bcolor(blue*1.3)) bar(2, bcolor(red*1.2)) bar(3, bcolor(black)) bar(4, bcolor(black)) bar(5, bcolor(black)) /// bar(6, bcolor(black)) bar(7, bcolor(black)) bar(8, bcolor(black)) bar(9, bcolor(black)) /// ysize(9) xsize(18)
Comment