MVC approach to making stacked bar charts