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