using:
Code: Select all
XYSeriesCollection dataset = new XYSeriesCollection();
However after adding about 20 series I get an OutOfMemoryError
Is there anyway I can do this where jfreechart plots but doesn't store the old series in memory every time I add a new one? Or some other method of avoiding low memory errors?