Somehow there was a missing semi colon in the paste.  I do see that on
the value = 'Broken' line.

On Oct 13, 10:21 am, Tday <[email protected]> wrote:
> I'm trying to refine a "search" method of my table where there are two
> buttons that show only what is essentially true or false.
> Here's my listener declaration for my dashboard.
>
>         google.visualization.events.addListener(dashboard, 'ready',
> dashReady);
>
> And here's the listener function.
>
>         function dashReady(){
>                 document.getElementById('workButton').onclick = function() {
>                         slider.value = 'Working';
>                         slider.draw();
>                 };
>
>                 document.getElementById('breakButton').onclick = function() {
>                         slider.value = 'Broken'
>                         slider.draw;
>                 };
>         }
>
> I also tried slider.setState({'value':'Working/Broken') but had no
> success.  Help would be appreciated!

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-visualization-api?hl=en.

Reply via email to