Hi Stata users,

I am interested in having N/counts in a graph apart from the current label (percent). The syntax am using is below

Code:
    set seed 12345
    
    sysuse auto, clear
    
    gen x = (runiform() > 0.5) * 100
    
    graph hbar x, over(foreign) legend(off) blabel(bar, format(%16.0fc)) ytitle("Percent")
Thanks in advance!