BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
noobs
Fluorite | Level 6

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


Graph-missing.pngGraph-SASEGhtml.pngGraph-export-option.png
1 ACCEPTED SOLUTION

Accepted Solutions
ballardw
Super User

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.

View solution in original post

2 REPLIES 2
ballardw
Super User

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.

noobs
Fluorite | Level 6

That was it!

Your suggestion resolved it Smiley Happy

Thanks,

sas-innovate-wordmark-2025-midnight.png

Register Today!

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.


Register now!

SAS Enterprise Guide vs. SAS Studio

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.

SAS Training: Just a Click Away

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

Browse our catalog!

Discussion stats
  • 2 replies
  • 2160 views
  • 0 likes
  • 2 in conversation