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

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