been trying to update someone else's program recently and having trouble moving the title inside the .PNG file. the program uses ODS HTML and Proc GCHART and a STP is created and used in the web browsers. tried many things to move the title inside of the graphics but no success. SAS/GRAPH(R) 9.2: Reference, Second Edition this article said something about titles are rendered as HTML. my question is, is it possible to move the title inside in the current setup? any ideas to help me out? thank you very much!
Have you tried the nogtitle option in your ODS HTML statement?
I thought NOGTITLE disables graphics title. GTITLE is the default. I have tried both ways just to test, but didn't matter in this case. The STP output is in a web browser. Not sure if it's even possible. I can get it to work with test codes in a fresh session in EG or Base SAS console.
Found out that the guy had options device=actximg. I changed it to PNG or tried deleting the option, both works and the title is in the graphics file now. The formatting doesn't seem to work but it's a start. Also, the web browser version seems to always render the title outside of the graphics file.
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.