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: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 541 views
  • 2 likes
  • 2 in conversation