Date: Thu, 7 May 2009 10:30:08 -0400
Reply-To: Randy Herbison <RandyHerbison@WESTAT.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Randy Herbison <RandyHerbison@WESTAT.COM>
Subject: Re: Graph Template Language: Display Bar Stat At End Of Bar
In-Reply-To: <200905061900.n46AoocO015244@mailgw.cc.uga.edu>
Content-Type: text/plain; charset="us-ascii"
A little birdie wrote to Chang and me:
"Chang is correct. Version 9.2 comes in two flavors 9.02.01 (Phase 1) and 9.02.02 (Phase 2) with Phase 2 being about one year newer. The options BARLABEL, BARLABELATTRS, and BARLABELFORMAT were introduced in Phase 2. I thought we had flagged those options as being for Phase 2 only, but somehow they weren't marked as such in the documentation. Anyway, the three options I mentioned are the only differences in grammar between Phase 1 and 2 GTL."
-----Original Message-----
From: SAS(r) Discussion [mailto:SAS-L@LISTSERV.UGA.EDU] On Behalf Of Chang Chung
Sent: Wednesday, May 06, 2009 3:01 PM
To: SAS-L@LISTSERV.UGA.EDU
Subject: Re: Graph Template Language: Display Bar Stat At End Of Bar
On Wed, 6 May 2009 11:30:48 -0400, Randy Herbison <RandyHerbison@WESTAT.COM> wrote:
>When creating a bar chart, how can I display the bar statistic value at
the end of the bar?
>
>I've tried the BARCHART statement's BARLABEL option, but it generates
>an
error when running PROC TEMPLATE.
...
hi,
I get the same error. I think the barLabel= option to the barChart statement is not yet implemented(or enabled) in yours as in mine( sysvlong=9.02.01M0P020508 sysscpl=W32_VSPRO). cheers, chang
>
>Thanks,
>Randy
>
>proc template;
> define statgraph b_test;
> begingraph / border=false ;
> layout overlay / xaxisopts=(display=none)
>yaxisopts=(display=none)
WALLDISPLAY=NONE ;
> barchart x=value / name="legend" orient=vertical
> display=standard
barlabel=true barwidth=1
> fillattrs=(color=RED) OUTLINEATTRS=(color=black);
> endlayout;
> endgraph;
> end;
>run;
|