10-12-2012 06:42 PM
as part of the options for the VBAR or HBAR INSIDE= <statistic > or OUTSIDE=<statistic> (best without subgrouping).
There are some limitations on which statistic depending on whether the subgroup option is used.
The online help for HBAR, HBAR3D, VBAR and VBAR3D statement in GCHART has details.
10-15-2012 09:25 AM
We have some great samples using PROC GCHART that you might find useful. They are available on support.sas.com at http://support.sas.com/sassamples/graphgallery/PROC_GCHART.html. Other graphic samples are also available another level up at http://support.sas.com/sassamples/graphgallery/index.html.
I always find sample code helpful. I hope you find this to be a useful resource as well.
10-15-2012 10:53 AM
A few extra tips...
If the value won't fit on top of a vbar, you might try increasing the width of the bars (using the width= option).
Hbars typically print their values in a table to the right of the graph, rather than at the ends of the bars.
And if the built-in options/features don't provide what you're after, you can use "annotate" to place whatever text you want with each bar.