Hello, I have several ChartWrapper instances each connected to a data source with a nonzero refresh interval. I draw the charts once on load and everything works fine. I want to allow the user input to modify the refresh interval dynamically. From the chartwrapper documentation I got the idea that it should be possible by calling
my_chart_wrapper.setRefreshInterval(new_interval); my_chart_wrapper.draw() However, when I do that, the original query seems to continue and I end up with a new query with its own refresh interval set. This quickly becomes a problem. I realized that this happens generically when .draw() is called regardless of whether or not a new refresh interval is set. Is there a way to redraw the chart after updating the refresh interval and aborting the original query? It doesn't seem obvious from the exposed API. I noticed that there is a .clear() method, which is undocumented, but that doesn't do the trick either. thanks, Chad -- 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 https://groups.google.com/group/google-visualization-api. To view this discussion on the web visit https://groups.google.com/d/msgid/google-visualization-api/89974a7a-02d0-419e-b588-1066f8152ada%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
