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

Admin: Not sure if i am in the correct section, please move to appropriate section if needed. Thanks.

 

I am trying to export a report in html from SAS. Only the odd naming of charts were displayed.

For instance, i have the following exported charts in png:

Boxplot.png

Boxplot1.png

Boxplot2.png

Boxplot3.png

Boxplot4.png

Boxplot5.png

Boxplot6.png

Boxplot7.png

 

But only the following 4 charts in png were shown in the attached exported html.

Boxplot1.png

Boxplot3.png

Boxplot5.png

Boxplot7.png

 

Why is this happening? It's a bug? Why the generated *html is not generated to display all charts PNG? Please help. Thanks.

 

*unzip the zip to get the html file

1 ACCEPTED SOLUTION

Accepted Solutions
DanH_sas
SAS Super FREQ

It appears that you have ODS LISTING open in your environment somehow. Notice that, if you compare each pair of plots, the result is the same, EXCEPT the orange markers in 1, 3, 5, and 7. That is because the HTMLBLUE style was used for that output, and those are the files that showed up in your HTML file. The other output was probably generated using the LISTING style.

 

To make sure, add this line at the beginning of your program:

 

ods _all_  close;

 

Hope this fixes it for you.

 

Thanks!

Dan

View solution in original post

2 REPLIES 2
DanH_sas
SAS Super FREQ

It appears that you have ODS LISTING open in your environment somehow. Notice that, if you compare each pair of plots, the result is the same, EXCEPT the orange markers in 1, 3, 5, and 7. That is because the HTMLBLUE style was used for that output, and those are the files that showed up in your HTML file. The other output was probably generated using the LISTING style.

 

To make sure, add this line at the beginning of your program:

 

ods _all_  close;

 

Hope this fixes it for you.

 

Thanks!

Dan

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

How to Concatenate Values

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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