Hey everybody, I created a stacked bar chart with the code: ods graphics / reset width=16cm height=4cm; title "Gender distribution" font=Arial; proc sgplot data=newcomplete; hbar Full / group=Gender BARWIDTH=.5 groupdisplay=stack stat=percent seglabel seglabelattrs=(Family=Arial size=10); xaxis discreteorder=data; styleattrs datacolors=("#D9D9D9" "#C5D4D8" "#B0BAD4" "#85BDB6" SKYBLUE) datalinepatterns=(solid) datacontrastcolors=(grey); keylegend/ title=" " titleattrs=(Size=1) valueattrs=(Family=Arial Size=11);; yaxis label="S8)" valueattrs=(size=10); XAXIS DISPLAY=(NOLABEL); run; The outcome is the picture below. Because I added the percent value of each segment in the bar already, I want to remove the percent values (0%...-...100%) on the x-axis scale. Does anybody have an idea? Thanks a lot!
... View more