Date: Wed, 6 May 2009 15:00:55 -0400
Reply-To: Chang Chung <chang_y_chung@HOTMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Chang Chung <chang_y_chung@HOTMAIL.COM>
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;
|