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-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

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.

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
  • 351 views
  • 2 likes
  • 2 in conversation