I'm working on building a circular plot for a TFL at my company, but they want to have the titles/footnotes embedded in the figure. As such I would prefer to have the final image size be 10in wide x about 7in tall (landscape in an RTF file). However because the figure itself is circular (Sunburst chart) it becomes oval if the height and width aren't set to be the same. Is there any way to tell GTL that I want the actual graph space to only be 5in wide but let the ENTRYTITLE/ENTRYFOOTNOTE use the entire 10in of the graph?
Note the example below is not real data.
The only way I've thought about doing it was taking the requested height and finding the difference between width and height (e.g. 10in-7in=3in) and adding a column in front of and behind the main plot with a lattice LAYOUT and making these additional columns blanks.
layout lattice / columns=3 columnweights=(0.15 0.7 0.15);
Any advice welcome.
Hint: To see if we can suggest changes to your code we need ALL of the code. Better would be to also provide an example data set that the code can use. Data is best shared as working data step code.
You should also include ALL ODS GRAPHICS options in effect and since you specify RTF the ODS RTF or Tagsets.rtf options as well.
One of the things that might accomplish what you want, if I understand, is to use actual Title/Footnote statements for the graph instead of Entrytitle/Entryfootnote with the RTF option NOGTITLE. When you use Nogtitle with ODS RTF the title statements are not displayed in the graphics area but in the body of the RTF document. May need to also use Bodytitle option. So the title is using document margins instead of graphic margins and you could use a square graphic area.
Instructions here: https://communities.sas.com/t5/SAS-Communities-Library/How-to-create-a-data-step-version-of-your-dat... will show how to turn an existing SAS data set into data step code that can be pasted into a forum code box using the </> icon or attached as text to show exactly what you have and that we can test code against.
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.
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.