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-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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