adding stack and bar charts