BookmarkSubscribeRSS Feed
kasman
Calcite | Level 5

I'm using SGPANEL to create a graph. I'm using ODS to output into a PDF file.  And I'm working in SAS EG.


The problem I'm running into is the variable labels for the panels are being cut off. I want to wrap the labels to the next line. I have tried various combinations of attribute options and split options on different statement lines, but nothing is working.

 

Here is the original code -

proc sgpanel data=here;
panelBy Var / columns=4 novarname;
vbarparm category=Treat_num response=Mean / limitlower=LCLM limitupper=UCLM;
format Treat_num Treat_numfmt.;
run;

 

The variable VAR has values like
This is a label
This is a really really long label
This label fits
This really really long label gets cut off and does not wrap

 

How can I the information for the variable VAR to wrap, when necessary, for each of the columns when they are output?  

 

1 REPLY 1

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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
  • 1 reply
  • 508 views
  • 2 likes
  • 2 in conversation