[visualization-api] Re: Value Changes

2012-11-09 Thread asgallant
There are a handful of things you will need to change if you want to use a dropdown instead of a button; principally, you need to use an onchange event handler for the dropdown, and grab the value of the dropdown from the list to choose which data set to use. Here's the example code, done with

[visualization-api] Re: Value Changes

2012-11-09 Thread asgallant
Right click in the result window and view the frame's source code. jsfiddle throws a few things in there that you don't strictly need (the css and mootools stuff); also, to get jsfiddle to use the google API link, I had to add a .js to the end of it, hence the fake=.js part of the src url,

[visualization-api] Re: Value Changes

2012-11-09 Thread Mike Aitken
Thank you asgallant, you sir are a gentleman and a scholar! Cheers, Mike On Saturday, 10 November 2012 10:00:50 UTC+10, asgallant wrote: Right click in the result window and view the frame's source code. jsfiddle throws a few things in there that you don't strictly need (the css and

[visualization-api] Re: Value Changes

2012-11-09 Thread asgallant
You're welcome. On Friday, November 9, 2012 7:25:17 PM UTC-5, Mike Aitken wrote: Thank you asgallant, you sir are a gentleman and a scholar! Cheers, Mike On Saturday, 10 November 2012 10:00:50 UTC+10, asgallant wrote: Right click in the result window and view the frame's source code.

[visualization-api] Re: Value Changes

2012-11-08 Thread Mike Aitken
You're a legend. Thank you very much! -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To view this discussion on the web visit https://groups.google.com/d/msg/google-visualization-api/-/TrF76N72TlUJ. To post to this group, send

[visualization-api] Re: Value Changes

2012-11-08 Thread Mike Aitken
Hi again, Sorry to be a pain, what if I need to bring in more than two rowData? I'd imagine a 'button' won't work, maybe a dropdown menu? Thanks again. Mike -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To view this discussion