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
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
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.