I am trying to combine 4 SG plots into one HTML file using tagsets.htmlpanel, when I run the code below, each of the SG plots works and produces output in the results viewer and as a PNG. However, when I open the HTML file that is produced, it just shows 4 blank panels, with a missing image icon (see attached screenshot). Is there a options (bitmap_mode=inline) equivalent for HTMLpanel as there is in ODS HTML5? I don't see it in the documentation but could be missing it.
Running EG9.3 on a Linux grid envionment but also tested in base with same result. Any help is appreaciated.
%let odsout=./;
ods listing close;
ods graphics / reset=index;
ods tagsets.htmlpanel
file="hmtlpanel.html"
path="&odsout.";
ods tagsets.htmlpanel event=panel(start);
<SGplot 1>
<SGplot 2>
<SGplot 3>
<SGplot 4>
ods tagsets.htmlpanel event=panel(finish);
ods tagsets.htmlpanel close;
ods listing;
You may need a BODY= instead of FILE= and (url=none).
Changed to:
ods listing close;
ods graphics / reset=index;
ods tagsets.htmlpanel
path="&odsout."
body = "htmlpanel.html"
(url=none);
But still have the same result.
I would hope the URL isn't too sensitive but I my code I have it immediately following the path. What is the value of &odsout? If you hard code the value instead of a macro variable do you see a change? And are the PNG files appearing in the same folder as the htmlpanel.html?
I moved the URL statement to be right after the path, defined the path directly (vs. in a macro), but still no luck.
The png files do appear correctly in the output path and when I open them, the graphs are displayed correctly.
Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.
Register today!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.
Select SAS Training centers are offering in-person courses. View upcoming courses for: