SAS 9.4带GOUP和子组的条形图

SAS 9.4带GOUP和子组的条形图,sas,Sas,我试着用组和子组制作一个条形图。 到目前为止,我得到了一个像这样结巴的柱状图 守则如下: proc sgpanel data=transp_4; panelby time / layout=columnlattice onepanel colheaderpos=bottom rows=2 novarname noborder; vbar type / group=grupp_text response=col1 stat=sum group=time nostatlabel; colax

我试着用组和子组制作一个条形图。 到目前为止,我得到了一个像这样结巴的柱状图

守则如下:

proc sgpanel data=transp_4;
panelby time / layout=columnlattice onepanel
colheaderpos=bottom rows=2 novarname noborder;
vbar type / group=grupp_text response=col1 stat=sum group=time   
nostatlabel;
colaxis display=(nolabel);
rowaxis grid;
run;
但我希望酒吧挨着一个,而不是卡住。 有什么想法吗? 谢谢
sandra

使用
groupdisplay=cluster
选项将其从堆叠更改为分组

proc sgpanel data=transp_4;
    panelby time / layout=columnlattice onepanel
        colheaderpos=bottom rows=2 novarname noborder;
    vbar type / group=grupp_text response=col1 stat=sum group=time   
        nostatlabel
        groupdisplay=cluster;
    colaxis display=(nolabel);
    rowaxis grid;
run;

使用
groupdisplay=cluster
选项将其从堆叠更改为分组

proc sgpanel data=transp_4;
    panelby time / layout=columnlattice onepanel
        colheaderpos=bottom rows=2 novarname noborder;
    vbar type / group=grupp_text response=col1 stat=sum group=time   
        nostatlabel
        groupdisplay=cluster;
    colaxis display=(nolabel);
    rowaxis grid;
run;