BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
milts
Pyrite | Level 9

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!


_graph.jpg
1 ACCEPTED SOLUTION

Accepted Solutions
GraphGuy
Meteorite | Level 14

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.

View solution in original post

4 REPLIES 4
GraphGuy
Meteorite | Level 14

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).

milts
Pyrite | Level 9

Hi,

How do I annotate along the legend area? I have only tried creating annotations which are inside the graph area.

Thanks!

GraphGuy
Meteorite | Level 14

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.

milts
Pyrite | Level 9

Thanks you very much again!

sas-innovate-white.png

Special offer for SAS Communities members

Save $250 on SAS Innovate and get a free advance copy of the new SAS For Dummies book! Use the code "SASforDummies" to register. Don't miss out, May 6-9, in Orlando, Florida.

 

View the full agenda.

Register now!

How to Concatenate Values

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 4 replies
  • 1333 views
  • 0 likes
  • 2 in conversation