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-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!

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.

SAS Training: Just a Click Away

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

Browse our catalog!

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