changes from Patrick Michaud, line, bar, stacked column graphs