Skip to main content



      Home
Home » Archived » BIRT » refresh/update a chart continuously
refresh/update a chart continuously [message #160793] Sun, 14 May 2006 11:38 Go to next message
Eclipse UserFriend
Originally posted by: fcheng.us.ibm.com

Suppose the data is being updated continuously (every 0.1 second or some
small interval), is it possible to refresh the chart every time the data is
updated?

I guess we could just create a new chart every time. But the chart would
keep flashing which would be annoying.

Any solution/idea?

Thanks
Re: refresh/update a chart continuously [message #160876 is a reply to message #160793] Mon, 15 May 2006 04:38 Go to previous message
Eclipse UserFriend
Hi Feng,

Yes it's possible, you don't need to recreate a chart everytime. You can
reuse the same chart, update the data, and then call "refresh" (not build),
and then render. Refresh will skip layout computations (not needed if you
only change the data).

There is an example in org.eclipse.birt.chart.examples :
SwingLiveChartViewer

Thanks,

David

"Feng Cheng" <fcheng@us.ibm.com> wrote in message
news:e47isp$9hb$1@utils.eclipse.org...
> Suppose the data is being updated continuously (every 0.1 second or some
> small interval), is it possible to refresh the chart every time the data
> is updated?
>
> I guess we could just create a new chart every time. But the chart would
> keep flashing which would be annoying.
>
> Any solution/idea?
>
> Thanks
>
Previous Topic:fonts in PDF
Next Topic:birt $NO-RB$ org.eclipse.birt.chart.device.swt.SwtRendererImpl
Goto Forum:
  


Current Time: Sun Jul 27 06:26:50 EDT 2025

Powered by FUDForum. Page generated in 0.03245 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top