| Date: | Fri, 14 Aug 2009 03:53:39 -0700 |
| Reply-To: | Abel DK <rasmusabel@GMAIL.COM> |
| Sender: | "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU> |
| From: | Abel DK <rasmusabel@GMAIL.COM> |
| Organization: | http://groups.google.com |
| Subject: | Re: Gchart Histogram |
|
| Content-Type: | text/plain; charset=ISO-8859-1 |
Hi Jason,
i think u need to use the subgroup= option in the vbar statement.
Se how it works in the example below :-)
Hope it will solve your problems,
best regard,
Rasmus
*Create test dataset;
data a;
input var1 dummy;
cards;
1 1
1 0
2 1
2 0
3 1
3 0
4 1
4 0
5 1
5 0
;
*Create subgrouped histogram;
proc gchart data=a ;
vbar var1 /
woutline=1
type=percent
subgroup=dummy
;
run;
|