Reputation: 1957
Right now I'm using JFreeChart in order to create a dynamic chart. However the chart is significantly slowing down my GUI. I was just wondering, is jfreechart generally heavy in the graphics department (my computer is not fast at all). Or is there a way to configure the ChartPanel to better optimize dynamic charting.
Upvotes: 4
Views: 2637
Reputation: 22884
Are you adding data to the JFreeChart dataset at a high rate? Have you considered shutting off notifications when you add a batch of data, then re-enabling?
JFreeChart.setNotify(false)
Upvotes: 0
Reputation: 3051
JFreechart library by itself does not cause the UI to be much slower. But definitely being on slow PC created problem in UI rendering as browser has to do much more pixel drawing with charts. Still you can look at the following link and see if the tricks described can help you
http://www.jfree.org/phpBB2/viewtopic.php?t=12682
Upvotes: 3