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!
Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.
If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website.
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.