Search found 9 matches

by beckchr
Sun May 17, 2009 9:25 am
Forum: JFreeChart
Topic: JFreeChart & SWT - How to redraw?
Replies: 2
Views: 5936

Re: JFreeChart & SWT - How to redraw?

Setting a new Dataset on your JFreeChart's Plot should redraw the ChartComposite.
by beckchr
Thu Jan 22, 2009 4:21 pm
Forum: JFreeChart
Topic: How to place text inside a ring chart
Replies: 0
Views: 2003

How to place text inside a ring chart

Hi, I have a ring chart and I would like to show a piece of text right at the center of the ring plot. Is this possible?
by beckchr
Fri Nov 28, 2008 10:15 pm
Forum: JFreeChart
Topic: Release Plan for JFreeChart 1.2?
Replies: 3
Views: 3834

Hi David, any new plans for jfreechart 1.2?
by beckchr
Fri May 30, 2008 9:01 am
Forum: JFreeChart
Topic: Problem with disposal of ChartComposite object
Replies: 5
Views: 7696

heprom wrote:Hi, this problem is now fixed in the svn tree. Will be in jfreechart 1.10.

Thanks for your feedback.
Hi, we should remove the block
if (this.chart != null) {
....
}
completely from the constructor, as the same code appears in setChart(), which is called anyway.
by beckchr
Wed Mar 26, 2008 4:57 pm
Forum: JFreeChart
Topic: SWT fails to refresh after I add data to chart
Replies: 4
Views: 5946

You are starting the Job from the SWT thread. Why? Instead, you should do the series.add(...) calls in the SWT thread. Try to move the Display.asyncExcec(new Runnable() {}) to just include the series.add() calls.
by beckchr
Wed Jan 16, 2008 1:15 pm
Forum: JFreeChart
Topic: Release Plan for JFreeChart 1.2?
Replies: 3
Views: 3834

Release Plan for JFreeChart 1.2?

I wonder what the status of the JFreeChart 1.2 development stream would be? Any idea when 1.2 will be released? Any plans to merge recent changes/fixes from the SVN 1.0.x branch to trunk?

Thanks, Christoph
by beckchr
Sat Apr 07, 2007 8:28 pm
Forum: JFreeChart
Topic: [Sample] Dynamic jfreechart for SWT demo
Replies: 6
Views: 21499

Hi, I've just looked at the changes you've made in SWTGraphics2D. I think the changes should be rolled back. (1) after we called dispose() a resource cannot be used anymore (2) we should call dispose() only once on a resource (3) we should call dispose only on resources that we created I have the st...
by beckchr
Mon Apr 02, 2007 11:03 pm
Forum: JFreeChart
Topic: [Sample] Dynamic jfreechart for SWT demo
Replies: 6
Views: 21499

On the "out of handles": I have the same problem. I guess that the jfreechart swt classes create SWT fonts from AWT fonts on the fly without disposing them later. The fonts should be cached in a font registry instead. Someone should investigate this since it's a real blocker... Did you create a bug ...
by beckchr
Wed Feb 28, 2007 3:08 pm
Forum: JFreeChart
Topic: refreshing JFreeChart
Replies: 6
Views: 15090

Hi, I had the same problem. I guess this is a bug in the ChartComposite class. I solved it by changing method public void chartChanged(ChartChangeEvent event) : Replace this.redraw(); by this.forceRedraw(); As an alternative to direcly hacking ChartComposite you may want to subclass and overrid meth...