SAS Users Group for Institutional Researchers (SUGIR)

Reply
This is an open group. Sign in and click the "Join Group" button to become a group member and start posting.
Highlighted
New Contributor
Posts: 4
ods pdf - unwanted page break between first tabulate and first gchart

I am working on a pdf report where I use proc tabulate to create a data table immediately followed by a proc gchart on the same page. Using ods startpage=no works great on all but the first table and chart. The first table shows on the first page, the related chart on the second page. After that the others do exactly what I expected with the table and related chart on the same page. Has anyone had this issue and how did you fix it? I'm using SAS Enterprise Guide 7.1.

Occasional Contributor
Posts: 5
Re: ods pdf - unwanted page break between first tabulate and first gchart

Well, my solution wasn't pretty, but it worked.  I used the custom report feature in EG to create separate reports for each page.  I then used the Fit to Page option for each custom report.  I hope this helps!

New Contributor
Posts: 4
Re: ods pdf - unwanted page break between first tabulate and first gchart

I ended up changing from proc gchart to proc sgplot and the problem resolved itself in the change. Meanwhile, I had never used the custom report feature so you taught me something anyway. :-)

Occasional Contributor
Posts: 5
Re: ods pdf - unwanted page break between first tabulate and first gchart

I may have to give your solution a try as well!