Date: Fri, 23 Mar 2012 09:51:42 -0700
Reply-To: "Huang, Ya" <Ya.Huang@AMYLIN.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: "Huang, Ya" <Ya.Huang@AMYLIN.COM>
Subject: Re: Pie chart, how can I force less frequent to showup?
In-Reply-To: <CAEZCyssKxLBcrVpPdc_ZuYNepfz5NVW2toSTqm=5RMj+xWR7fQ@mail.gmail.com>
Content-Type: text/plain; charset="us-ascii"
Thanks _null_, how did I miss that option..
Ya
-----Original Message-----
From: Data _null_; [mailto:iebupdte@gmail.com]
Sent: Friday, March 23, 2012 9:12 AM
To: Huang, Ya
Cc: SAS-L@listserv.uga.edu
Subject: Re: Pie chart, how can I force less frequent to showup?
other=0
On 3/23/12, Ya Huang <ya.huang@amylin.com> wrote:
> 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
>
|