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.
Available on demand!
Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.
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.
Select SAS Training centers are offering in-person courses. View upcoming courses for: