Repaint

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
Johan

Repaint

Post by Johan » Thu Jan 02, 2003 3:59 pm

I am building an app. which is receiving data through com-port, and putting it onscreen (in a chart) at the same time.
Now can anyone tell me what's the best way to refresh te chart, so all runs smooth ??

Greetz and thanx,

J.Jansma

Eduardo Ramalho

Re: Repaint

Post by Eduardo Ramalho » Thu Jan 02, 2003 6:17 pm

Hi Johan!

When you add a new sample to the dataset, the chart will be automatically updated and refresh. It works very well for >0.5 sec updates. But the final motion effect won't be smooth.

If didn't found something like "video quality" refresh rates in realtime chart repaints like in ILog JViews.

Eduardo

Locked