Stack bar charts started

Not quite working, but most is in place.
Working stacked bar chart displaying refstats