BookmarkSubscribeRSS Feed
EdB
Calcite | Level 5 EdB
Calcite | Level 5
Dear SAS experts:

I have a question about manipulating charts produced by SGRender (SAS 9.2 on Windows XP).

I'm producing charts (using templates and SGRender) followed by reports on a single page with ODS PDF and it's working nicely. (I love GTL). There are 30 measures and I'd like to produce a summary with 6 charts per page, using the same code if possible and just changing the settings.

The layout looks like this;
Page 1:
..Chart1
..Report1

Page 2:
..Chart2
..Report2
etc - the charts are 5x5".

and I'm trying to create a summary page that looks like this.
Chart1 Chart2
Chart3 Chart4
Chart5 Chart6
These charts are 3x3".

I'm sure I could recode this using the older SAS graph procedures Gplot/Gchart and use greplay, but I'm wondering if there is a way to manipulate the SGRender results with ODS so the same code would work and all that changes is the size. It looks like ODS HTML will produce an image file SGRender.png, but I'm not sure how to control the name (gpath= determines the location).

Is there a way to accomplish this?
Thanks
Ed
1 REPLY 1
David_SAS
SAS Employee
Ed,

I recommend checking with SAS Technical Support. You ought to be able to get the desired behavior with:


  • ODS DOCUMENT and PROC DOCUMENT

  • ODS PDF COLUMNS=2 or ODS LAYOUT


-- David Kelley, SAS

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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