10-29-2012 10:38 AM
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!
10-31-2012 03:38 PM
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:
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.
Need further help from the community? Please ask a new question.