The way to deal with data modifications, is to call the draw function again (with a new data table), but not to instantiate the chart itself.We are working on improving the redrawing of the chart in such cases, but the way to use it will probably be the same as today (hopefully, we will just be able to refresh the chart faster if the options are the same, and the data changes make it possible).
Regards, VizGuy On Tue, Jan 13, 2009 at 12:28 PM, googelybear <[email protected]> wrote: > > Hi, > > I'm using the timeline widget and I have created a bunch of checkboxes > from which the user can select which data series he wants to display > (as in GoogleFinance: http://finance.google.com/finance?q=AMEX:SPY). > The user can also enter new data. Currently I'm always re- > instantiating the timeline widget (with a new instance of the data > table) whenever a checkbox is selected or new data entered. This works > but it's not very nice. Is there a better way to handle dynamic data > (I'm > sure there is , but I just haven't discovered it yet)? > > thanks, keep up the good work! > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
