BookmarkSubscribeRSS Feed
shanzha
Calcite | Level 5

How to adjust the right column to center? thanks!

Forest_DFS_mITT_AB1.png

 

The code is :yaxistable HR_95_CI_ P p_for_interaction / location = inside position = right pad =(right = 15px)labelattrs =(size = 7)valueattrs =(size = 7);

2 REPLIES 2
FreelanceReinh
Jade | Level 19

Hello @shanzha,

 

Add the option

valuehalign=center

to the YAXISTABLE statement (cf. documentation). If this has an unwanted impact on the alignment of variables HR_95_CI_ and P, use a separate YAXISTABLE statement for p_for_interaction.

 

 

shanzha
Calcite | Level 5
it works! thank you~

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