Hi,
I have this vbar chart with a plot which is an annotation. I would like to add that plot into the items in the legend of the graph. Is this possible?
Btw, version of SAS is 913.
Thanks!
I usually set xsys and ysys to '3' and just use trial-and-error to guess at the x and y coordinates, until my annotation is in the desired position.
If you had a more recent version of SAS (9.2 or 9.3) I would recommend using Gbarline (gbarline was pretty new in 9.1.3, and some of the features were still under development back then). Here's an example of a combined legend in gbarline:
http://support.sas.com/kb/33/173.html
Things you do in annotate don't really have a legend, so you have to "fake" one (using more annotate, or a title/footnote statement, or a 'note', etc).
Hi,
How do I annotate along the legend area? I have only tried creating annotations which are inside the graph area.
Thanks!
I usually set xsys and ysys to '3' and just use trial-and-error to guess at the x and y coordinates, until my annotation is in the desired position.
Thanks you very much again!
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.