Date: Wed, 14 Dec 2005 20:48:56 +0000
Reply-To: Jo Klein <jo_kln@YAHOO.CO.UK>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Jo Klein <jo_kln@YAHOO.CO.UK>
Organization: Oxford University, England
Subject: Formatting subgroups in hbar3d/proc gchart
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Folks,
I have a dataset with responses to multiple questions (like "How do you
rate xy on a scale of 1 to 5"). I've managed to derive a dataset
suitable for charting thanks to some code I found in the list archive.
Alas, when I subgroup my data using a statement like
proc gchart data=charts;
format question grpfmt.;
label q='Score';
vbar3d q/discrete sumvar=q subgroup=question cframe=grayaa
coutline=black;
run;
the bars are stacked on top of each other. I'd like to have them stand
side-by-side instead. In the SAS documentation
(graphref.chm::/graphref.hlp/gr13n05-ex.htm), there is an example just
like that, but I can't figure out which of the options causes the bars
to be placed next to each other instead of on top!
Can anyone shed some light onto this?
Thanks,
Jo
|