Desktop productivity for business analysts and programmers

Graph goes missing

Accepted Solution Solved
Reply
Contributor
Posts: 73
Accepted Solution

Graph goes missing

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

Attachment
Attachment
Attachment

Accepted Solutions
Solution
‎04-21-2014 05:46 PM
Grand Advisor
Posts: 10,211

Re: Graph goes missing

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


All Replies
Solution
‎04-21-2014 05:46 PM
Grand Advisor
Posts: 10,211

Re: Graph goes missing

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.

Contributor
Posts: 73

Re: Graph goes missing

That was it!

Your suggestion resolved it Smiley Happy

Thanks,

☑ This topic is SOLVED.

Need further help from the community? Please ask a new question.

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