Click here to see the SAS code.
Click here to see the example.

There are a few tricks at work here...

This is a normal grouped vbar gchart in sas/graph.
I use "outside=sum" to put the labels at the top of the bars.

I use label=none and value=none in the axis statements, and 'noframe'
in the gchart to get rid of all the left/right/top axes.

I hardcode the order= in the axis statement to get the axis in the
exact order I desire.

I use the legend statement to specify that the legend should be 'inside'
the bar chart area, rather than outside.  And I specify a slightly different
shape than the normal legend color chicklet.

And, I use the RGB hex codes to specify the bar colors, in the 
pattern statements.


Back to Samples Index