I'm having this exact same problem. The annotate could is turning out to be a little difficult to decipher; I'm not sure what some of it is doing, exactly (e.g., "a", xsys, ysys, position, "E", etc.). Though an experienced Stata and R user, I'm getting up to speed in SAS.
BigD: could you please post the code that worked?
Here're my data and code:
And the code:
/*Figure 6: Coalition Progress on Individual Activities (All Coalitions)*/
title1 "Progress on Individual Activities (All Coalitions)";
axis1 label=("Activity") value=(angle=45 rotate=0);
axis2 label=none value=none;
axis3 label=(angle=90 "Percent") value=("0%" "10%" "20%" "30%" "40%" "50%" "60%" "70%" "80%" "90%" "100%")
minor=none;
PROC GCHART data=temp;
format prog1 prog.;
vbar count / type=percent subgroup=prog1 g100 group=Activity inside=pct
gaxis=axis1 maxis=axis2 raxis=axis3 width=20;
RUN;
I get this graph, which is very nearly what I need, just that the two decimal points give an impression of a great precision that just isn't in the data!
I'd greatly appreciate any help!
Thanks,
David
Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!
Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.