Hi,
My problem is, I have to draw stripe chart from a multithreaded data source. Refresh interval will be mininum 5 seconds.Which chart model will be better to use? Any model supports repaint? Any documentations available? Plz mail to rejimani@hotmail.com
regards
Dynamic charts..?
RE: Dynamic charts..?
Hi,
Anybody tried to create dynamic charts using JFreeChart Library? Plz help me...
Anybody tried to create dynamic charts using JFreeChart Library? Plz help me...
RE: Dynamic charts..?
How can I fix the Y-Axis interval for a dynamic chart using JFreeChart? Any other open sourse java library available for dynamic charts?
RE: Dynamic charts..?
Hi Reji,
JFreeChart has a mechanism for repainting charts whenever a dataset changes. Have a look through the TimeSeriesCollection class, for example. This works reasonably well, but you will run into performance problems if you try to do too many updates in a short period of time. JFreeChart wasn't designed for realtime chart updates.
For a fixed range on your axis:
axis.setAutoRange(false);
axis.setMinimumAxisValue(...);
axis.setMaximumAxisValue(...);
On the main JFreeChart page, there are a list of other open source chart libraries that I know of, but I haven't used any of them so I can't comment on whether or not they are good at dynamic charts.
Regards,
DG.
JFreeChart has a mechanism for repainting charts whenever a dataset changes. Have a look through the TimeSeriesCollection class, for example. This works reasonably well, but you will run into performance problems if you try to do too many updates in a short period of time. JFreeChart wasn't designed for realtime chart updates.
For a fixed range on your axis:
axis.setAutoRange(false);
axis.setMinimumAxisValue(...);
axis.setMaximumAxisValue(...);
On the main JFreeChart page, there are a list of other open source chart libraries that I know of, but I haven't used any of them so I can't comment on whether or not they are good at dynamic charts.
Regards,
DG.
RE: Dynamic charts..?
How can I get Source code of TimeSeriesCollection class? Can you mail me? I downloaded latest version of JFreeChart, but it contains only class files. plz mail to rejimani@hotmail.com
RE: Dynamic charts..?
It's in the JCommon class library which you can download from:
http://www.jrefinery.com/jcommon
Regards,
DG.
http://www.jrefinery.com/jcommon
Regards,
DG.