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-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 995 views
  • 0 likes
  • 2 in conversation