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
|