Programming the statistical procedures from SAS

Graph Template Language: Barchart Statement's Barlabel Option

Reply
N/A
Posts: 0

Graph Template Language: Barchart Statement's Barlabel Option

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.

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;
SAS Super FREQ
Posts: 876

Re: Graph Template Language: Barchart Statement's Barlabel Option

What version of SAS are you running?
Ask a Question
Discussion stats
  • 1 reply
  • 72 views
  • 0 likes
  • 2 in conversation