LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (December 2005, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
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
Comments: To: sas-l@uga.edu
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


Back to: Top of message | Previous page | Main SAS-L page