I use JFreeChart to plot splines and polynimials.
For charts I use XYSeriesCollection
. When I have more than 30 splines, my program works slowly. YourKit shows me this:
As far as I understand, the draw of splines works slowly. How it is possible to get rid of this problem? Movement of a point lags behind a mouse already in case of 30 splines, so what will be in case of 100+ splines?