Data visualization with SAS programming

YAXISTABLE Wrapping text values

Reply
Contributor
Posts: 28

YAXISTABLE Wrapping text values

Using the Yaxistable option (which I love) I have text as values and I would like to split the characters so part of the value for example "Green Tea" appears as "Green" and "Tea" right below in the single cell. 

 

Using a strip function I converted two numbers into one text field. This is making the Yaxistable columns too wide. So I am trying to split the text and narrow the columns. Forcing the columns to narrow, my hope was the value would wrap the value. Is there an option to accomplish this in a Yaxistable?   

Contributor
Posts: 46

Re: YAXISTABLE Wrapping text values

Hi BrianMc,

 

You can find your answer in the following link.

http://support.sas.com/documentation/cdl/en/grstatproc/69716/HTML/default/viewer.htm#n0ka2y1m7pmaqdn...

 

-Let me know if it helps.

 

 

SAS Super FREQ
Posts: 3,637

Re: YAXISTABLE Wrapping text values

If you love axis tables, you might want to read Warren Kuhfeld's  recent blog post:

http://blogs.sas.com/content/graphicallyspeaking/2017/01/23/basic-ods-graphics-axis-tables/

 It is not directly relevant to your question, but is interesting nonetheless.

 

Contributor
Posts: 28

Re: YAXISTABLE Wrapping text values

Hi, I haven't found the solution in the suggested material. Essentially I am looking to narrow the yaxis table. I hope that will cause my text data to wrap to the row below at the space between 2 text values. I could not find a fit policy option for values in a yaxistable. That would be ideal but I am looking for a creative way to tighten up the columns so the output appears larger than it does.
SAS Super FREQ
Posts: 1,148

Re: YAXISTABLE Wrapping text values

YAxisTable values cannot be split.  This will make the layout of the columns much more complicated.  The Header will be split to fit the space.  The y-axis values can be split.

Contributor
Posts: 28

Re: YAXISTABLE Wrapping text values

Thank you. I appreciate the responses.
Ask a Question
Discussion stats
  • 5 replies
  • 233 views
  • 1 like
  • 4 in conversation