Click here to see the SAS code.
Click here to see the example.
Once again, I use numeric values to get the bars & groups in the exact
same order as the original chart (this would be optional for you if you're
plotting other data).
For the left-hand-side axis, I customize it slightly by overriding
the default label for the first tickmark, and use the following
in the axis statement to make the first tickmark have a label of '0' ...
value=(tick=1 '0')
Also, in order to get a 2-line axis label for the left axis, I suppress
the axis label altogether (using label=none) and I use 2 rotated/angled
title statements to fake a 2-line axis label.
For the color-legend, I use "mode=share" to allow the legend to share
the space inside the graph area (rather than being in the default
outside location).
Back to Samples Index