Hello,
I'm having trouble getting the labels to appear on the X-axis. I already have a format in SAS for Var2. When I run the code below, there are no labels on the X-axis. I would like the x-axis to display the values of Var2 and tick marks at A, B, C, D, and E. I have tried running this with and without the FORMAT and VALUESFORMAT statements and it is the same outcome. Any tips would be appreciated! Thanks!
PROC SGPLOT DATA = newdata NOAUTOLEGEND;
FORMAT Var2 $Var2.;
VBOX Var1 /GROUP = Var2 ;
XAXIS VALUES = ("A" "B" "C" "D" "E")
VALUESFORMAT= $Var2.
YAXIS VALUES = ( 0 TO 100 BY 10 );
RUN;