BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
Lost_Gary
Quartz | Level 8

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:

Lost_Gary_0-1708959245501.png

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!

1 ACCEPTED SOLUTION

Accepted Solutions
Ksharp
Super User
Try option "nogtitle".

ods html5 body="\\Path.html" nogtitle ;

View solution in original post

3 REPLIES 3
Ksharp
Super User
Try option "nogtitle".

ods html5 body="\\Path.html" nogtitle ;
Lost_Gary
Quartz | Level 8

That seems to have no effect.  

Lost_Gary
Quartz | Level 8

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: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

How to Concatenate Values

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 3 replies
  • 782 views
  • 1 like
  • 2 in conversation