Hello EG Users,
I am using proc gplot to generate line graphs that look completely fine inside SAS EG. I view them as SAS Report and use ods html and pdf as well. Since I intend to save the html on local drive so that it can be uploaded on our company's intranet later, I open the html version and use:
EXPORT
EXPORT D:\SAS\...\sashtml14.htm
(Please check attached Graph-export-option.png)
That successfully saves the html. However when I try to view this page in any of the popular browsers like Internet Explorer, Firefox, the graphics for graph goes missing. Instead there is just red x mark that shows up.
(Please check attached graph-missing.png)
The actual graph is looks like this inside of html ods in SAS EG. Please check attached graph-SASEGhtml.png
Am I missing something? How do I save the output from html ods so that the picture shows up correctly? Input will be greatly appreicted.
Thanks,
Dhanashree
If you find where the actual html file was originally created, possibly the folder your Work library is located, you'll find PNG files with the graphs. The method you are using to export is getting the additional files.
You may want to look at controlling your ODS output to specific folder/file names and all the associated files should be together. But you still need to move the image files appropriately with the HTML.
If you find where the actual html file was originally created, possibly the folder your Work library is located, you'll find PNG files with the graphs. The method you are using to export is getting the additional files.
You may want to look at controlling your ODS output to specific folder/file names and all the associated files should be together. But you still need to move the image files appropriately with the HTML.
That was it!
Your suggestion resolved it
Thanks,
Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.
What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.