LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous (more recent) messageNext (less recent) messagePrevious (more recent) in topicNext (less recent) in topicPrevious (more recent) by same authorNext (less recent) by same authorPrevious page (March 2012, week 4)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Fri, 23 Mar 2012 11:17:13 -0400
Reply-To:     Ya Huang <ya.huang@AMYLIN.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Ya Huang <ya.huang@AMYLIN.COM>
Subject:      Pie chart, how can I force less frequent to showup?

Hi there,

When each category has very small count, pie chart (gchart) will combine them togther, in the extream case, the pie will be a whole unsliced pie. I wonder if I can force it to show slices, even though each slice will be very thin.

The follow code I used discrete option, because the var v is numeric, in my real data, v is character, it will be automatically treated as discrete:

data x; do i=1 to 10000; v=ceil(rannor(0)*500) + 200; output; end; run;

proc gchart data=x; pie v / discrete levels=all; run;

Is there a way to force the pie to be sliced, even though each slice is very thin?

Thanks

Ya


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