Hi Croix,

I expanded on your jsfiddle to give an outline of what you need to do to
select different data tables:

  http://jsfiddle.net/dlaliberte/M9YrV/1/

Note that the code doesn't work because not all the blanks are filled in.
But it should give you an idea how to proceed.



On Sat, Jan 17, 2015 at 11:38 AM, Croix Christenson <
[email protected]> wrote:

> 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.
>



-- 
Daniel LaLiberte <https://plus.google.com/100631381223468223275?prsrc=2>  -
978-394-1058
[email protected] <[email protected]>   5CC, Cambridge MA
[email protected] <[email protected]> 9 Juniper Ridge
Road, Acton MA

-- 
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.

Reply via email to