Using SGPLOT, is there a way to change to rotation angle to a specified angle? It appears that the default is 45 degrees. I'm using a VBARPARM and a SERIES line on the chart. I've looked into the documentation and maybe I'm just not seeing something. I should think that should be easy?
XAXIS statement in SGPLOT provides rotation values of 0 degrees (horixontal), 90 degreees (vertical), and +/-45 degrees (diagonal or 'diagonal2').
The annotation facility allows arbitrary rotation of text, but might be more effort than you want to deal with.
Thanks for your response.
The reason I'm wanting this is because my xaxis labels are quite long, and when they are angled 45 degrees, it makes the whole graph look like it's shifted to the left. Yes, I could mess with the fitpolicy and the fonts size with LABELATTRS but that still doesn't accomplish what I'm looking for. I thought there'd be a way to change the angle, but I guess not.
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.