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

---------------------------------------------------------------

Since proc gbarline doesn't support grouped bar charts (as of v9.2)
we have to do these by using gchart to do the bars, and annotate
to do the lines.

This is a somewhat specialized case, where the line is the 
ratio of the 2 bars within the group.  The code does a bit of
transposing & re-merging the results, to add this ratio to the 
data.  I developed this chart for Robert Anderson (sas consultant),
for use with some Healthcare Provider data.

For more details, see the comments in the sas code.

Back to Samples Index