BookmarkSubscribeRSS Feed
fengyuwuzu
Pyrite | Level 9

I used the option below to control the size of the chart in the RTF file, but in the RTF file the title is not complete. In the SAS results wondow, however, the title is complete.

 

ods graphics on / 
      width=3.25in border=off;

 

This is the image in the RTF file:

Capture1.JPG

 

This is from the SAS results window:

 

Capture1.JPG

4 REPLIES 4
ballardw
Super User

You show no details on how the graph was created so here are some guesses:

The default sytle for ODS RTF is different than for the ODS HTML shown in the Results. The title font can be quite a bit larger and does not fit into the space availbe for the title in the method you used to create the graph. Try specifying the same ODS STYLE used by your results window with the ODS RTF statement.

 

Options specified on the Title overflow the allowed space for the title;

 

 

Cynthia_sas
SAS Super FREQ
And, in addition to BallardW's comments, the options in HTML and RTF might be different, as far as the GTITLE, NOGTITLE option which tells ODS whether the title is under the control of the graphics image (and thus, inside the image) or is under the control of the the ODS destination (and thus, sitting outside of the image).
http://support.sas.com/documentation/cdl/en/odsug/67921/HTML/default/viewer.htm#p1vvsv8ucnjzjnn1wq5w...

cynthia
fengyuwuzu
Pyrite | Level 9

Thank you for both replies.

I ended up with ODS PDF for a fast solution. I will look into the real solution in RTF

 

ballardw
Super User

If ODS PDF solves the problem it may well be the active style as the PDF style default is different from both HTML and RTF.

sas-innovate-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

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
  • 4 replies
  • 799 views
  • 0 likes
  • 3 in conversation