Ah, I missed that in the documentation but went back and found it after
your post.
Thanks for the response,
Len
On Wednesday, October 24, 2012 9:59:35 PM UTC-7, asgallant wrote:
>
> Use the #setView method, as the view is not an option:
>
> chart.setView({columns: [0,1,7,3,4]});
>
> On Wednesday, October 24, 2012 9:03:41 PM UTC-4, Len De Groot wrote:
>>
>> Hi all,
>>
>> I trying to allow users to toggle data in a bubble chart and I'm running
>> into a problem with the programatic control changes in the API
>>
>> function dashboardReady() {
>>
>> document.getElementById('optionsButton').onclick = function() {
>>
>> //this successfully changes bubble colors
>> chart.setOptions({'colors': ['#2577B6', '#AA3834']});
>>
>> //but this does not change the data being
>> used in the chart. (in this case, 7 is a 2 in the original )
>> chart.setOptions({'view': {'columns': [0,1,7,3,4]}});
>>
>> chart.draw();
>> };
>>
>> Is there something going on with the data that prevents it from being
>> updated?
>>
>> Thanks in advance,
>>
>> Len
>>
>
--
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/-/pizAFcsrTkEJ.
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.