Hi all,
I am trying to avoid truncation of labels on the y-axis here in this graph below.
I have tried to change margins using
but they are still getting truncated. See the pic attached. 
I tried using splitvallables to reduce the space consumed on the left side to accommodate the full labels using
.
But then the labels are getting mixed up. See
Any help or feedback is much appreciated. Thank you.
I am trying to avoid truncation of labels on the y-axis here in this graph below.
I have tried to change margins using
Code:
graph hbar (count), /// over(spec, gap(*1) label(labsize(tiny))) /// blabel(bar, size(tiny)) yla(0(50)400, labsize(vsmall)) /// ysize(15) xsize(15) /// ytitle("Number of repsodents", size(small)) /// title("Specialty you are COMPLETING in 2021 (mark only one)", size(small) span) /// graphregion(margin(zero))
I tried using splitvallables to reduce the space consumed on the left side to accommodate the full labels using
Code:
splitvallabels spec, nob graph hbar (count), /// over(spec, gap(*1) label(labsize(vsmall)) relabel(`r(relabel)')) /// blabel(bar, size(tiny)) yla(0(50)400, labsize(vsmall)) /// ysize(25) xsize(15) /// ytitle("Number of repsodents", size(small)) /// title("Specialty you are COMPLETING in 2021 (mark only one)", size(small) span)
But then the labels are getting mixed up. See
Any help or feedback is much appreciated. Thank you.
Comment