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

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Update

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