add ability to toggle between line/scatterplot charts