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~

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