04-19-2012 12:47 AM
I have ran into trouble for some time, when I tried to create some bar charts..
First, I would like to create a side by side bar chart with proc template,
However, due to my sas version (9.2 TS2M0), I can not use the option "Discreteoffset"... then how can I create side by side bar charts with proc template?
... I can only get overlaid charts!!
Second, I want to add the statitics to the bar.. Still I couldn't use the "Barlabel" option...then I don't know how I can add labels to the bar....
Input Province $ Percent1 Percent2;
BC 16.427 15.995
AB 15.461 14.470
YT 15.279 14.616
MB 16.980 10.014
CAN 13.987 11.714
Define Statgraph barchart;
Layout Overlay ;
Barchart X=Province Y=Percent1 / Barlabel=True Discreteoffset=-0.2;
Barchart X=Province Y=Percent2 / Barlabel=True Discreteoffset= 0.2;