Hi,
When I submit the same proc template code below in proc sgrender with and without the format contf., obsid is left aligned when I don't apply the format but is right aligned when I apply the format (without changing any code in proc template). How can I left align obsid when I apply the format in proc sgrender?
proc sgrender data=combined template=combined;
format obsid contf.;
*format obsid contf.;
run;
proc template;
define statgraph combined;
begingraph;
layout lattice / columns=2 columnweights=(0.6 0.4) rowdatarange=union columngutter=10px;
rowaxes;
rowaxis / display=(tickvalues) tickvalueattrs=(size=8);
endrowaxes;
layout overlay / walldisplay=none xaxisopts=(linearopts=(viewmin=.5 viewmax=2 tickvaluelist=(.5 1 1.5 2))
griddisplay=on display=(line ticks tickvalues));
innermargin / align=left;
axistable y=ObsId_char value=obsid / showmissing=false valuehalign=left headerlabel='Subgroup'
HEADERLABELATTRS=(size=8) valueattrs=(size=8)
labelattrs=(size=8) pad=(right=1pct) indentweight=indent;
endinnermargin;
.......(partial code)
Thanks,
Anders
Any way you can show us a picture of what you're seeing?
What happens if you remove the INDENTWEIGHT option?
No difference.
Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9.
Early bird rate extended! Save $200 when you sign up by March 31.
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.