The SAS Output Delivery System and reporting techniques

ODS Graphics question

Reply
Occasional Contributor EdB
Occasional Contributor
Posts: 9

ODS Graphics question

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
SAS Employee
Posts: 174

Re: ODS Graphics question

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
Ask a Question
Discussion stats
  • 1 reply
  • 119 views
  • 0 likes
  • 2 in conversation