In reply to Aku.

It sounds like you want to use PROC SGPANEL with the PCTLEVEL= option. In each cell of the panel will display a VBAR with the GROUPDISPLAY=STACK option:

proc sgpanel data=sashelp.cars pctlevel=graph;
panelby Origin / rows=1;
vbar DriveTrain / group=Type groupdisplay=stack stat=percent ;
run;