Data visualization with SAS programming

Annotation Goes out of Graphics Output Area

Accepted Solution Solved
Reply
Contributor
Posts: 37
Accepted Solution

Annotation Goes out of Graphics Output Area

I need to create multiple graphs with data tables underneath, one for each region.  The attached sas program contains a macro that reads the data (also attached) and creates a graph for each region.  The problem is that when the region has only one hospital to report on, the bar disappears and the contents of the data table go outside of the Graphics Output Area.

Can anyone help with this?

Thanks a lot!

Jason

Attachment
Attachment

Accepted Solutions
Solution
‎12-08-2012 08:18 PM
Super Contributor
Posts: 543

Re: Annotation Goes out of Graphics Output Area

Hi Jason,

when you get a chance you should mark this question as answered so people like myself don't visit it again.

Smiley Wink

View solution in original post


All Replies
Super Contributor
Posts: 543

Re: Annotation Goes out of Graphics Output Area

Hi.

There are several small issues with the code, but what fixed your problem - or so I think, was the two following options in your PROC GCHART:

PROC GCHART...

vbar Hospital / discrete width=&Bar_Width space=&Space

...

I changed the width = 6 and space = 2 (I chose these numbers arbitrarily), but I thought of starting at this point because when you run your code, you do get warnings letting you know that the bardwidth specified is too wide...

I hope this bit of change helps!

Best of luck.


Anca.

Contributor
Posts: 37

Re: Annotation Goes out of Graphics Output Area

Thanks a lot!  Jason

Solution
‎12-08-2012 08:18 PM
Super Contributor
Posts: 543

Re: Annotation Goes out of Graphics Output Area

Hi Jason,

when you get a chance you should mark this question as answered so people like myself don't visit it again.

Smiley Wink

Contributor
Posts: 37

Re: Annotation Goes out of Graphics Output Area

Sorry.  How do I mark it answered?  I couldn't find the option.

🔒 This topic is solved and locked.

Need further help from the community? Please ask a new question.

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