added legend to stacked chart.  God damn this beast needs a refactoring.
pushing for work.