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 2024

Innovate_SAS_Blue.png

Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.

If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website. 

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.

Get the $99 certification deal.jpg

 

 

Back in the Classroom!

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

View all other training opportunities.

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