From: SourceForge.net <no...@so...> - 2008-09-23 08:29:21
|
Bugs item #2062237, was opened at 2008-08-20 12:12 Message generated for change (Comment added) made by mungady You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=115494&aid=2062237&group_id=15494 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: General Group: 1.0.x Status: Open Resolution: None Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) >Assigned to: David Gilbert (mungady) Summary: ChartPanel's double buffering doesn't work Initial Comment: Version of JFreeChart used - 1.0.6 During running program using JFreeChart under X Window I've noticed it requires to transfer about 7 megabytes of data to redraw 600x400 chart, and with slow connection using of JFreeChart is really unimpossible. I use constructor new ChartPanel(my_JFreeChart, true)), but double buffering doesn't work. After code analysis I've noticed what you get image for buffering in ChartPanel class in the following manner: this.chartBuffer = createImage( this.chartBufferWidth, this.chartBufferHeight); (line 1220) You get the reference on component's image, and it's the same to draw on component itself or on this buffering image. If you initialize new image, for example in this way: this.chartBuffer = new BufferedImage(this.chartBufferWidth, this.chartBufferHeight, BufferedImage.TYPE_INT_RGB); it's need to transfer only 100 kbytes of data for the same window. Sorry if I've reported already fixed bug, I work only with 1.0.6 version, and you have very good and helpful software. ---------------------------------------------------------------------- >Comment By: David Gilbert (mungady) Date: 2008-09-23 08:29 Message: Can you try 1.0.11? I've changed the chart buffer creation, but I don't know whether or not it will fix the problem you are seeing. Regards, Dave Gilbert JFreeChart Project Leader ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=115494&aid=2062237&group_id=15494 |