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

sas-innovate-white.png

Missed SAS Innovate in Orlando?

Catch the best of SAS Innovate 2025 — anytime, anywhere. Stream powerful keynotes, real-world demos, and game-changing insights from the world’s leading data and AI minds.

 

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
  • 867 views
  • 0 likes
  • 2 in conversation