Handling Live Data

74 views
Skip to first unread message

kyd...@gmail.com

unread,
May 3, 2016, 9:39:33 AM5/3/16
to Google Visualization API
Hello!
I am a newbie IT developer and I've been doing some research on Google Chart for a while now, and am interested to know how Google Chart deals with live data.
In particular, I was trying to see how the "render" is done as the data is updated.
More specifically, can Google Chart subscribe to a LiveView table, which is a Tibco product?

Thank you!!
Best Regards,
Daniel

Daniel LaLiberte

unread,
May 3, 2016, 10:37:44 AM5/3/16
to Google Visualization API
Hi Daniel,

Google Charts requires that you draw the chart again, after data updates.  There is an animation option which makes the transition between the two states, before and after the redraw, smoother.  With large amounts of data being drawn, this can become a performance problem, but typically a smaller window of data can be shown, together with a ChartRangeFilter.  

There is one automatic refresh feature that is available if you wrap your charts with a ChartWrapper.   See setRefreshInterval() under https://developers.google.com/chart/interactive/docs/reference#methods_4

All this could be improved in various ways.  I hope that helps your research.

--
You received this message because you are subscribed to the Google Groups "Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-visualizati...@googlegroups.com.
To post to this group, send email to google-visua...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-visualization-api/351fedd9-f72c-41ca-90a1-e466bfa8cedb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--

kyd...@gmail.com

unread,
May 3, 2016, 10:49:52 AM5/3/16
to Google Visualization API
Mr. LaLiberte,

Thank you so very much for your time.
So if I understand it correct, when the data is updated, all SVG item will have to be removed, then the entire visualization will be redrawn, correct?
Which is how most visualization tools do when they render right?

Thank you very much again Mr. LaLiberte.

Best Regards,
Daniel




On Tuesday, May 3, 2016 at 10:37:44 AM UTC-4, Daniel LaLiberte wrote:
Hi Daniel,

Google Charts requires that you draw the chart again, after data updates.  There is an animation option which makes the transition between the two states, before and after the redraw, smoother.  With large amounts of data being drawn, this can become a performance problem, but typically a smaller window of data can be shown, together with a ChartRangeFilter.  

There is one automatic refresh feature that is available if you wrap your charts with a ChartWrapper.   See setRefreshInterval() under https://developers.google.com/chart/interactive/docs/reference#methods_4

All this could be improved in various ways.  I hope that helps your research.
On Tue, May 3, 2016 at 9:39 AM, <kyd...@gmail.com> wrote:
Hello!
I am a newbie IT developer and I've been doing some research on Google Chart for a while now, and am interested to know how Google Chart deals with live data.
In particular, I was trying to see how the "render" is done as the data is updated.
More specifically, can Google Chart subscribe to a LiveView table, which is a Tibco product?

Thank you!!
Best Regards,
Daniel

--
You received this message because you are subscribed to the Google Groups "Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-visualization-api+unsub...@googlegroups.com.



--

Daniel LaLiberte

unread,
May 3, 2016, 10:57:39 AM5/3/16
to Google Visualization API
I would guess that most visualization packages will recreate the SVG elements rather than modify them according to the changes in data.  This generally makes the code much simpler, and works for most situations in which the data is relatively static.  But D3, for one, is designed around letting you incrementally update the drawing, though I am not sure how much this feature is used.  

On Tue, May 3, 2016 at 10:49 AM, <kyd...@gmail.com> wrote:
Mr. LaLiberte,

Thank you so very much for your time.
So if I understand it correct, when the data is updated, all SVG item will have to be removed, then the entire visualization will be redrawn, correct?
Which is how most visualization tools do when they render right?

Thank you very much again Mr. LaLiberte.

Best Regards,
Daniel




On Tuesday, May 3, 2016 at 10:37:44 AM UTC-4, Daniel LaLiberte wrote:
Hi Daniel,

Google Charts requires that you draw the chart again, after data updates.  There is an animation option which makes the transition between the two states, before and after the redraw, smoother.  With large amounts of data being drawn, this can become a performance problem, but typically a smaller window of data can be shown, together with a ChartRangeFilter.  

There is one automatic refresh feature that is available if you wrap your charts with a ChartWrapper.   See setRefreshInterval() under https://developers.google.com/chart/interactive/docs/reference#methods_4

All this could be improved in various ways.  I hope that helps your research.
On Tue, May 3, 2016 at 9:39 AM, <kyd...@gmail.com> wrote:
Hello!
I am a newbie IT developer and I've been doing some research on Google Chart for a while now, and am interested to know how Google Chart deals with live data.
In particular, I was trying to see how the "render" is done as the data is updated.
More specifically, can Google Chart subscribe to a LiveView table, which is a Tibco product?

Thank you!!
Best Regards,
Daniel

--
You received this message because you are subscribed to the Google Groups "Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-visualizati...@googlegroups.com.



--

--
You received this message because you are subscribed to the Google Groups "Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-visualizati...@googlegroups.com.

To post to this group, send email to google-visua...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.

For more options, visit https://groups.google.com/d/optout.



--

kyd...@gmail.com

unread,
May 3, 2016, 11:04:56 AM5/3/16
to Google Visualization API
I would agree with that statement completely.
One last question that I just have to go ahead and ask, I couldn't find any information regarding connection between Tibco LiveView and Google Chart, so I assume that this is not something that's available out there?

Thank you very much again.

Best Regards,
Daniel

Daniel LaLiberte

unread,
May 3, 2016, 11:12:13 AM5/3/16
to Google Visualization API
We don't have any explicit support for getting data from Tibco LiveView.  It would probably require some adaptation to how data is expected to be formatted, and there is no 'live' aspect of the data for Google Charts yet in any event.

--
You received this message because you are subscribed to the Google Groups "Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-visualizati...@googlegroups.com.
To post to this group, send email to google-visua...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.

For more options, visit https://groups.google.com/d/optout.

kyd...@gmail.com

unread,
May 3, 2016, 11:28:55 AM5/3/16
to Google Visualization API
Ahh. I think I misinterpreted the word dynamic.
I was hoping to have Google Chart sits on top of a live stream of data, and have Google Chart animate(as the data is being updated live) the live change.

Thank you again Mr. LaLiberte for your time again.

Best Regards,
Daniel
Reply all
Reply to author
Forward
0 new messages