If you use ChartWrapper<http://code.google.com/apis/chart/interactive/docs/reference.html#chartwrapperobject> to draw your chart<http://code.google.com/apis/chart/interactive/docs/drawing_charts.html#chartwrapper> then you can set a refresh interval that it will tell the chart how often to query the datasource for fresh data (assuming your chart is pulling data from a remote datasource whose contents are constantly changing) and redraw itself.
Since the Annotated Timeline<http://code.google.com/apis/chart/interactive/docs/gallery/annotatedtimeline.html> is based on Flash, you should set its allowRedraw option for optimized fast redraws to avoid the flickering that might occur when redrawing it frequently like you suggest. -- R. On 15 September 2011 09:41, fyno <[email protected]> wrote: > Hi all, > > I´m trying to create a dashboard with a Real Time Graph. I would like > to use Annotated Time Line graph refreshing it each second (for > example), but i don´t want to reload the webpage; i don´t know how to > do it. > > I´m using javascript and JSP for this dashboard, so i´ll be very > graceful if somebody could help me. > > > Thank you very much. > > -- > 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. > > -- 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.
