I have a .html that is attached called "two_data_sets_toggle.html" which plots a line chart.
What I would like to do is implement a drop down menu something like shown here, http://jsfiddle.net/M9YrV/ and when a new option is selected a different set of data is plotted on the google chart. The end chart will have about 6-8 data sets that I would like to be able to toggle between when the user selects a new option from the drop down menu. I've tried many solutions but still struggling to get the chart to update. I did find an example shown here (http://jsfiddle.net/asgallant/6kdvP/) that a user can input their own data...but like I said, I want there to be 6-8 different data sets and the user, via the drop down menu selects which data set to be plotted. Seems like it should be simple linking the value in select with a data set but have yet to have a breakthrough. Thanks in advance, been trying to debug this for the past few hours. Also, how do I decrease the white space between the vertical axis and the label? I'd like the plot to start as close to the left side of the browser possible. Hopefully this makes sense! -- You received this message because you are subscribed to the Google Groups "Google Visualization API" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-visualization-api. For more options, visit https://groups.google.com/d/optout.
