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
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
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
It works! Thanks alot~
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.
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.
Ready to level-up your skills? Choose your own adventure.