Thanks for the reply. I am using BarChart and ColumnChart. DeckPanel is from the Google Web Toolkit. It can contain several widgets but only one is visible at a time.
I will try a pure Javascript solution like you suggest and report on the results. On Mar 29, 3:01 pm, VizBoy <[email protected]> wrote: > Hi, > > In general, we are in the progress of efforts to make some of the > visualizations have smoother refreshes. > You did not mention which visualization you're using. Please do. > I am not familiar with DeckPanel, so I cannot be sure why the flickering > occurs, but you should try a pure javascript example and see where the > problem stems from. > > As for image based charts, all charts that have "image" in their name are > image based, so that they render just an image and don't do any computation > on the client. > > Hope this helps. > > Regards, > VizBoy. > > On Fri, Mar 27, 2009 at 6:24 PM, wsaleem <[email protected]> wrote: > > > I want my visualization to update dynamically as various events in my > > program modify the underlying data. I tried the following two ways: > > 1. Have the visualization in a panel. Replace the old visualization in > > the panel with a new one each time the data is changed. > > 2. Have 2 visualizations in a DeckPanel. Whenever the data is updated, > > the currently invisible visualization is updated and then made visible > > through the DeckPanel. > > > Both the above solutions cause flickering whenever the visualization > > is updated. Does anyone have a solution that does not cause > > flickering? > > > I am considering rendering the visualizations to images and then > > toggling between images in the DeckPanel. The visualizations will not > > be interactive any more but at least updates will be visually smooth, > > which is more important for my application. But there are again 2 > > issues here > > 1. I could not find a way to directly render to an image. > > 2. I have a feeling involving file I/O will be slow. > > > Any suggestions? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
