Data visualization with SAS programming

SAS ODS HTML & Title in STP

Reply
Contributor
Posts: 45

SAS ODS HTML & Title in STP

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!

Super User
Posts: 18,995

Re: SAS ODS HTML & Title in STP

Have you tried the nogtitle option in your ODS HTML statement?

Contributor
Posts: 45

Re: SAS ODS HTML & Title in STP

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.

Contributor
Posts: 45

Re: SAS ODS HTML & Title in STP

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.

Ask a Question
Discussion stats
  • 3 replies
  • 319 views
  • 0 likes
  • 2 in conversation