Afternoon all, I've just started using the Annotated Timeline Chart, having long been a fan of its use on Google Finance. In fact, I'm hoping to achieve a similar effect - with high resolution data being displayed when zoomed in on a recent date, and low resolution data when zoomed out.
Whilst this seems to be possible using the redraw approach highlighted on http://code.google.com/apis/visualization/documentation/gallery/annotatedtimeline.html, the entire graph visibly vanishes for a couple of hundred milliseconds each time I call draw(data). This doesn't look very good at all. Given that I don't see the same behaviour on Google Finance (and that is definitely requesting data asynchronously from the server - Wireshark shows this quite clearly). My current code is extremely simple - it's exactly the same as the example code in the URL above, except for: 1) The first call to draw is changed to: chart.draw(data, {displayAnnotations: false, allowRedraw: true}); 2) Subsequent calls to draw are simply: chart.draw(data) I believe both of the above to be correct according to the documentation. Any suggestions as to what I'm doing wrong here? Or is this a limitation of the publicly available Annotated Timeline? Thanks, Sam -- 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.
