Dynamic graphical display using Jfreechart

I am currently using JFreeChart to create a dynamic chart. However, the graph significantly slows down my graphical interface. I'm just wondering, jfreechart is usually heavy in the graphics department (my computer is not working fast). Or is there a way to configure ChartPanel to better optimize dynamic charting.

+4
source share
2 answers

The JFreechart library alone does not cause the user interface to be much slower. But definitely on a slow PC there was a problem in the presentation of the user interface, since the browser should do much more drawing pixels with graphs. Nevertheless, you can look at the following link and see if the described tricks will help.

http://www.jfree.org/phpBB2/viewtopic.php?t=12682

+3
source

Are you adding data to the JFreeChart dataset at high speed? Have you considered closing notifications when adding a data packet and then re-enabling?

JFreeChart.setNotify(false) 
0
source

Source: https://habr.com/ru/post/1306043/


All Articles