My suggestion for this would be to create a DATTRMAP data set to associate properties of graphs with values of group variables.
Then use Proc Sgplot with Histogram statement for historgrams, Vbar (or Hbar) for the bar graph and Series or Scatter instead of gplot.
Personally after fighting with GCHART starting in SAS 6 I would not use that proc unless there was a lot of $$$ reasons involved.
Univariate is more for exploratory purposes. So when appearance and control is important use a procedure like Sgplot or Sgpanel where there are more controls available.
... View more