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,

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

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
  • 2603 views
  • 0 likes
  • 2 in conversation