I am attempting to get HTML output with several graphs, followed by the data table to the right of each graph (i.e. Dashboard). Here is my code:
ods html5 body="\\Path.html";
ods layout gridded columns=5 column_widths=(40px 160px) ;
ods region column =1 ;
proc sgplot data = sashelp.class ;
title "This is the Graph";
xaxis type = linear ;
series x = weight y = height ;
run ;
ods region column =2 ;
proc print data=sashelp.class;
title "This is the table";
run;
ods html5 close;
but the output keeps coming out with the table header above the graph, such as:
What I'd like is an overall header/title for the HTML output ("this is the Dashboard") then the title for each region and the output titles to line-up. I can live with the ODS Text = prompt for each region, but love to know if there is something more stylish for the output.
Thanks!
That seems to have no effect.
Actually - let me take that back. I seemed to have had some rogue titles in my code that were leaving me perplexed. But now that those are removed, the 'nogtitle' did the trick. Thanks.
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
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.
Ready to level-up your skills? Choose your own adventure.