Statistical Procedures

Programming the statistical procedures from SAS
BookmarkSubscribeRSS Feed
deleted_user
Not applicable
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;
1 REPLY 1
DanH_sas
SAS Super FREQ
What version of SAS are you running?

sas-innovate-white.png

Register Today!

Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9.

 

Early bird rate extended! Save $200 when you sign up by March 31.

Register now!

What is ANOVA?

ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 1 reply
  • 1540 views
  • 0 likes
  • 2 in conversation