BookmarkSubscribeRSS Feed
s_manoj
Quartz | Level 8

Hi,

Could someone suggest how to customize each Y tick to a specific format?

For example in the attached graph: Y-tick HYBRID should display in BOLD; SUV should display in BLUE color;   sports should be Italics and rest all should be normal,

 

Can someone help me with how to achieve the above requirement in proc template (GTL) or annotation or both 🙂 ?

 

Any small lead should be ver much appreciated

 

s_manoj_0-1619875795830.png

Thanks in advance

Manoj

2 REPLIES 2
ballardw
Super User

Since you are specifying this must be done in GTL then show the template you have for the basic HBAR graph you are currently using.

 

AXIS options are available/restricted depending on the LAYOUT options used. So kind of need to know which LAYOUT you intend to use.

 

If you don't have a current template then why the restriction to GTL?

s_manoj
Quartz | Level 8
Hi Ballardw,

Thank you for your response, I have code in GTL so the reason i am asking for it, I wish I could share my GTL code but I I am not supposed to share hope you understand.

I am using Layout Overlay type to draw hbar type plot, y axis tick (discrete type) are directly defined from a variable, not used specifically any tickvaluelist in GTL

Hope above information would be suffice, if need anything more please let me know i will try to provide the same

Many thanks
Manoj

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

How to Concatenate Values

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 988 views
  • 0 likes
  • 2 in conversation