Improving Performance of XYBlockRenderer

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
SlowFoot
Posts: 21
Joined: Fri Oct 02, 2009 4:01 pm
antibot: No, of course not.

Improving Performance of XYBlockRenderer

Post by SlowFoot » Mon Nov 15, 2010 2:58 pm

I have a 320x240 CSV file that holds temperature values for a grid of points. I've written an applet that graphs these points using an XYBlockRenderer in an XYPlot. I'm not using the deprecated ContourPlot class. Current rendering times are about 5 seconds on a modern machine and 20-30 on a five year old laptop when used from the site I get the plot from.

I've been trying to figure out how to speed this rendering up while not degrading the quality of my graph in an obvious way. Simply not adding all points to the dataset isn't an option as zooming in reveals these missing data points. I see that there have been some optimizations proposed in the past for doing this sort of work but I haven't found any current work taking place. Does anyone have any insight as to how I could approach this?

Locked