BookmarkSubscribeRSS Feed
Quartz | Level 8

Hi There,

I have three questions about the graph attached:

How do I increase the margin at the top under the border so the characters at the top will not stick out?

How do I move the default legend from the bottom to the top?  And is it possible to remove the word "Legend"?

Thanks a lot!


Super User

There are multple approaches depending on how you made the graph.

Generically you can get a bit more space for the text by 1) setting an offset so the bars occur a little distance from the margins and/or b) changing the font size for Axis text. Making the physical size of the graph might also work.

Most of the legend approaches have options for top/bottom/left/right and inside/outside of the graph area. Code for how you generated the graph would let us know the specific form. Ditto for the legend label.

Quartz | Level 8

Thanks a lot!



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. 

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.

Get the $99 certification deal.jpg



Back in the Classroom!

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

View all other training opportunities.

Discussion stats
  • 2 replies
  • 2 in conversation