You can also layout graphs and table horizontally by using the ODS LAYOUT GRIDDED statement for the HTML destination.

For the RTF example, is there a reason why you closing all ODS destinations? Why not just use
ods rtf startpage=no;
/* create graphs */
ods rtf close;