Click here to see the SAS code. Click here to see the example. --------------------------------------------------------------- Controlling bar color with special values inserted into data (colorvar), and then use that as the subgroup= ... Also used a red reference line, at the exact height of the average bar... proc gchart data=mydata anno=anno_labels2; hbar barnum / discrete type=sum sumvar=satisfaction nostats noframe nolegend maxis=axis1 raxis=axis2 subgroup=colorvar <----- ***** coutline=black space=.4 anno=anno_axis ref=&avg_satis lref=1 cref=cxff0000 clipref <----- ***** html=myhtml des='' name="&name"; run; Back to Samples Index