Delay in Dynamic chart using ChartComposite

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
asterix
Posts: 6
Joined: Sat Apr 05, 2008 3:35 pm

Delay in Dynamic chart using ChartComposite

Post by asterix » Mon Apr 07, 2008 3:59 pm

Hello,

I created a dynamic chart using ChartComposite, TimeSeries and TimeSeriesCollection. A generator created random data every second or 500 milliseconds. The problem is there was an overhead delay when the chart was started. The chart also stoped updating if I moved mouse over the chart. I did turn off the tooltips and set useBuffer flag false in ChartComposite. What could I reduce the delay and make the chart fast respond ?

Here is the source if you want more details. The main class is in the Runner.java. .http://www.freewebtown.com/asterix/src.zip

Thanks for your help.

Locked