Issue #379 and Issue #377

Hey Nick,
I had these changes on my local, but I think they may be useful for the clickable legend item and composite chart colors. Also I added a dashStyle attribute for line charts.

I haven't written any tests, but it seems to work with the examples and my project.

nd 

Ref: #379, #377