Hi:
The HTMLPANEL destination will do what you want to do (place a table and graph side by side) -- because it uses HTML tags to make a "panel" of table cells and then your tabular output is put into one cell and your graph into another cell.
The HTMLPANEL works because the ODS MARKUP destination has a special "tagset template" that acts differently than regular ODS HTML. To invoke the HTMLPANEL destination, you would use this invocation "sandwich":
[pre]
ods tagsets.htmlpanel . . . ;
< more sas code >
ods tagsets.htmlpanel close;
[/pre]
As described here:
http://support.sas.com/rnd/base/ods/odsmarkup/htmlpanel.html
The hitch for EG folks is that the HTMLPANEL tagset must be available on the server, in a library that is accessible. This may mean that
1) you have to get your SAS administrator to install the HTMLPANEL tagset template on the server;
2) you have to issue an ODS PATH statement in your code to point to the library location on the server -- as set by your SAS Administrator. This need is described in this Tech Support note:
http://support.sas.com/kb/32/394.html (the note is talking about the ExcelXP tagset template, but the general steps apply to ANY tagset template that you might need to use, including the HTMLPANEL tagset template.
This HTMLPANEL tagset template, of course, only works for HTML, not for PDF. If you want to investigate something for ODS PDF, you might investigate the experimental features of ODS LAYOUT. It works in a somewhat similar fashion to the way that the HTMLPANEL tagset works; however, it is experimental (in SAS 9.2) and the syntax may change before it becomes production. Here's some info on ODS LAYOUT:
http://support.sas.com/rnd/base/early-access/index.html
http://www2.sas.com/proceedings/sugi31/159-31.pdf
http://www2.sas.com/proceedings/sugi30/172-30.pdf
http://www2.sas.com/proceedings/forum2008/222-2008.pdf
http://support.sas.com/techsup/technote/ts659/ts659.html (section 3c and 3d)
cynthia