Date: Wed, 22 Apr 2009 11:00:17 -0700
Reply-To: Richard <rdevenezia@WILDBLUE.NET>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Richard <rdevenezia@WILDBLUE.NET>
Organization: http://groups.google.com
Subject: Re: Proc GCHART issue
Content-Type: text/plain; charset=ISO-8859-1
On Apr 22, 12:58 pm, chumba <vikas.dharamsa...@gmail.com> wrote:
> Hi all,
>
> this is my code,
>
> goptions horigin=0 vorigin=5 hsize=4 vsize=4;
>
> pattern1 v=s c=red;
> pattern2 v=s c=blue;
> pattern3 v=s c=green;
> pattern4 v=S c=black;
> legend frame label=none;
> proc gchart data=tmp ;
> title1 height=22pt "wt_sr by timeline";
> vbar y / width=8 type=mean discrete group=month subgroup=year
> sumvar=wt_sr legend=legend;
> format month mnth.;
> format y yr.;
> run; quit;
>
> I am getting the results fine, but I need to suppress the year values
> in the horizontal axis and keep only month values.
>
> Is there anyway to suppress the subgroup values while getting the
> desired subgroup results in the bars, any help would be greatly
> appreciated.
Try the AXIS statement option value=none, and use the axis with you
MAXIS.
Can you submit some mockup data to play with ?
--
Richard A. DeVenezia
http://www.devenezia.com
|