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-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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