Refresh DataTable via Query and Redrawing

94 views
Skip to first unread message

Joshua Abts

unread,
Jan 27, 2009, 11:32:06 AM1/27/09
to Google Visualization API
Is there a way to redraw the chart every 15 seconds without
reinitializing it as to avoid a visible "refresh" and loss of
positioning and such in a timeline?

I have a setTimeout that calls the initialize function again every 15
seconds but that redraws the whole chart and reinitializes the chart.
Would it be possible to separate the functions a bit more so I can run
a query to update the data table and redraw the chart but only keeping
one instance of the chart?

For reference the page is at: http://kenergy.jabts.com

If there is anything I can do/provide to clarify, do let me know!
Thanks again!

Joshua Abts

unread,
Jan 27, 2009, 6:26:44 PM1/27/09
to Google Visualization API
Well so far I got the gauge to refresh and redraw nicely (only updates
the value and spins the pointer as opposed to redrawing the whole
visualization). However I cannot get the annotated timeline to do the
same. I am wondering is this a bug/limitation of the annotated
timeline? I am using a setRefreshInterval on the query to update the
data.

If anyone has any thoughts or input, let me know! I am going to try
changing the annotated timeline type to see if that makes any
difference.

VizBoy

unread,
Jan 29, 2009, 2:12:35 AM1/29/09
to google-visua...@googlegroups.com
Hi,

Unfortunately, so far the AnnotatedTimeLine does not support such behavior, and indeed the Gauge does.
It is in our planned feature requests for the AnnotatedTimeLine.

- VizBoy.

Joshua Abts

unread,
Jan 29, 2009, 7:49:02 AM1/29/09
to Google Visualization API
Will this functionality include being able to load parts of a
datatable at a time like google finance does? So that way we aren't
loading 5MB of historical data and instead being able to just load the
first part then the rest of the data if required?

On Jan 29, 2:12 am, VizBoy <viz...@google.com> wrote:
> Hi,
>
> Unfortunately, so far the AnnotatedTimeLine does not support such behavior,
> and indeed the Gauge does.
> It is in our planned feature requests for the AnnotatedTimeLine.
>
> - VizBoy.
>

VizBoy

unread,
Jan 29, 2009, 11:41:46 AM1/29/09
to google-visua...@googlegroups.com
Hi again,

It is in our roadmap to implement functionality to allow you to implement partial loads so that drill-down type functionality can be used. We do not have exact date and details on it at this time.

- VizBoy.
Reply all
Reply to author
Forward
0 new messages