I've run into similar issues with drag and drop. Have you looked into using ajax to redraw the chart anytime it's moved? This way you don't have to reload the whole page and it only reloads the ones it needs. We use the same layout you described to display charts and allow users to move them around their dashboard. We already used ajax to display the charts so it was simple extension to redraw anytime they were moved. Depending on the data passed into the include file you might be able to implement an ajax call that gets the contents of your include file. I imagine the D&D plug-in you're using has an event hook you can use to call the ajax function (we've been using the plugin from JQuery UI). Hope this helps! Good luck!
Mike On Mar 7, 12:50 pm, Eric <[email protected]> wrote: > Hi. New to Google Visualization and I have a problem where I can't > seem to find an answer. I'm hoping someone has run into this before > and can point me in the right direction. I have 4 visualizations in 2 > columns with each visualization created via an include statement. > > The page loads fine and I can drag and drop each visualization box > where I want it. The problem is that once I move a visualization, it > goes blank/disappears. The only way to get it back is to do a > complete refresh of the page. > > Is there a way to overcome this fairly easily? What am I doing > wrong? Can I (or how would I) redraw a graph when it is populated via > an include statement? > > Thanks for any help. > > Eric -- 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.
