added legend options for the area, scatterplot and streamgraph charts and opacity options for the pie chart