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 (June 2004, week 1)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Mon, 7 Jun 2004 13:16:38 -0400
Reply-To:     "Chen, Jian" <OZZ6@CDC.GOV>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         "Chen, Jian" <OZZ6@CDC.GOV>
Subject:      SAS/Graph
Comments: To: Nigel.Pain@SCOTLAND.GSI.GOV.UK
Content-Type: text/plain; charset="us-ascii"

Following is a pie chart code, I don't know why the explode='At Risk Overweight and Obese' doesn't work?

goptions reset=global htext=3 pct ftext=swiss border;

data one; input group $32. number; cards; Normal 133 Underweight 15 At Risk Overweight and Obese 78 ; proc freq; tables group/out=pct; weight number; run; proc format; value $groupfmt AtRISk='At Risk for Overweight and Obese' ; picture pctfmt (round) 0-high='000.0%'; run; proc gchart ; title h=4 pct 'Percentage of Children by Weight Categories, CY 2002'; pie group/sumvar=percent noheading fill=s explode='At Risk Overweight and Obese' coutline=black ; format percent pctfmt.; pattern1 v=s c=stpk; pattern2 v=s c=depk; pattern3 v=s c=vpab; format group $groupfmt.; run; quit;


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