I'm trying to make a bar chart where I can specify the order of X_A X_B and so on. It looks like the default is alphabetical order. I would also like to reorder the bars as well; such as the order of E, Q, R, T, U, W. ods graphics / width=10in height=5in;
title '[P]in X';
proc sgplot data=Narwhal.Narwhal_Data (where=(Dependant_V Contains 'X'));
vbar Dependant_V / response=N_Concentration group=Experiment_Group groupdisplay=cluster
stat=mean limitstat=clm;
xaxis /*display=(nolabel noticks)*/ label="Package";
yaxis grid label="Concentration (pines/apples)";
run;
... View more