Re: Updating GWT Pie Chart Dynamically

86 views
Skip to first unread message

Ümit Seren

unread,
Feb 16, 2013, 9:47:07 AM2/16/13
to google-we...@googlegroups.com
It would helpful if you post some code you tried so far. 


On Friday, February 15, 2013 8:50:23 PM UTC+1, abhishek sharma wrote:
Hi all,

SFTB . I have a scenrio as follows:-
1) The pie chart has to be updated every 30 seconds.
2) The data for the pie chart is to be fetched by HTTP.

I am able to receive the data through HTTP and parse it. However I am not able to update the data of the pie chart every 30 seconds.
I am using visualization charts for this.
Can anyone provide me similar code snippet too?
Any help appreciated

Michael Hirsch

unread,
Feb 16, 2013, 6:11:10 PM2/16/13
to google-we...@googlegroups.com


On Feb 15, 2013 1:02 PM, "abhishek sharma" <sharmaa...@gmail.com> wrote:
>
> Hi all,
>
> SFTB . I have a scenrio as follows:-
> 1) The pie chart has to be updated every 30 seconds.
> 2) The data for the pie chart is to be fetched by HTTP.
>
> I am able to receive the data through HTTP and parse it. However I am not able to update the data of the pie chart every 30 seconds.
> I am using visualization charts for this.
> Can anyone provide me similar code snippet too?
> Any help appreciated

Have you tried using a Timer that is scheduled every 30 seconds to update the chart?

-- Michael

Reply all
Reply to author
Forward
0 new messages