How to adjust the right column to center? thanks!
The code is :yaxistable HR_95_CI_ P p_for_interaction / location = inside position = right pad =(right = 15px)labelattrs =(size = 7)valueattrs =(size = 7);
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.
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.
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.
Ready to level-up your skills? Choose your own adventure.