Search found 91 matches

by heprom
Mon Aug 18, 2008 9:45 pm
Forum: JFreeChart
Topic: Chart stops displaying tooltips when resized...
Replies: 2
Views: 3888

Hi,

this is a documented bug, see
https://sourceforge.net/tracker/?func=d ... tid=115494

as a workaround, try to enable the buffered image...
HTH,
Henry
by heprom
Tue Jul 01, 2008 8:39 pm
Forum: JFreeChart
Topic: getChartRenderingInformation() getScreenDataArea() both null
Replies: 5
Views: 9215

Hi mechko,

frame.redraw() might not work, try

Code: Select all

frame.forceRedraw()
It does work, I tried with the simple demos shipped with jfreechart. for instance with SWTTimeSeriesDemo I get: Rectangle {59, 31, 521, 170}
HTH,
Henry
by heprom
Sun May 25, 2008 10:26 am
Forum: JFreeChart
Topic: popupmenu SWT
Replies: 2
Views: 5330

There is something wrong in your code, you do not need the ChartPanel instance :

Code: Select all

final ChartComposite frame = new ChartComposite(parent, SWT.NONE,chart, true);
frame.setPopupMenu(null); 
HTH,
Henry
by heprom
Sat May 24, 2008 10:13 pm
Forum: JFreeChart
Topic: SWTGraphics2D not freeing up resources
Replies: 2
Views: 3531

Hi Martin,

which version of the code are you using? I've been out of the loop for a couple of months now being overcommited elsewhere. I think the last code from svn is fine, being basically very similar to your suggestion. Comments are welcome, thanks again.

Henry
by heprom
Sat May 24, 2008 9:00 pm
Forum: JFreeChart
Topic: Problem with disposal of ChartComposite object
Replies: 5
Views: 7687

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

Thanks for your feedback.
by heprom
Sat May 24, 2008 8:04 pm
Forum: JFreeChart
Topic: Popup Menu not showing up
Replies: 9
Views: 11583

seems to be a problem with java 6 on windows. No problem for me on Linux both with 1.5 and 1.6 so I cannot help much here...
by heprom
Sat May 24, 2008 8:02 pm
Forum: JFreeChart
Topic: patch SWT/JFreechart
Replies: 6
Views: 7369

Thanks for the comments, I've updated the SWTGraphics2D with a new pool for transform objects and ChartComposite with some fixes too.
by heprom
Mon Feb 25, 2008 8:56 pm
Forum: JFreeChart
Topic: SWT tooltip shift in CombinedDomainXYPlot
Replies: 5
Views: 7554

mmh, I do not see exactly what you're saying but I can tell there is a problem. Here if you move the mouse on entities fast enough so that the previous tooltip do not disappear, the old one is replaced by the new one without updating the location. In short the tooltip is misplaced. I remember when I...
by heprom
Sat Feb 16, 2008 9:40 am
Forum: JFreeChart
Topic: jfreechart - osgi bundle
Replies: 1
Views: 3760

Thanks,
I've no experience with OSGI so cannot really comment here except that we do not have an OSGI bundle of jfree.
by heprom
Sat Feb 16, 2008 9:37 am
Forum: JFreeChart
Topic: SWT support
Replies: 1
Views: 3212

to compile the swt code, you need version 3.2 of the SWT library.
The pre-compiled jar will work on any plateform supported by SWT but need to be linked with SWT>=3.2
by heprom
Sat Feb 16, 2008 9:35 am
Forum: JFreeChart
Topic: SWT and ChartProgressListener Events
Replies: 1
Views: 3298

Hum not ChartProgressEvents, you need to subclass ChartComposite and override the chartProgress method (just like the with ChartPanel class):

Code: Select all

    public void chartProgress(ChartProgressEvent event) {
        // does nothing - override if necessary
    }
HTH,
Henry
by heprom
Sun Feb 10, 2008 9:41 am
Forum: JFreeChart
Topic: JFreeChart Performance?
Replies: 2
Views: 4985

I don't think Cpu usage is a good indicator of performance. You'd better measure system time in ms before and after drawing processes. And you should measure it not only for one draw but for hundreds or perhaps a thousand draw operations to avoid scattering.

HTH,
Henry
by heprom
Sun Feb 10, 2008 9:03 am
Forum: JFreeChart
Topic: ****News on JFreeChart in Swt!!!****
Replies: 3
Views: 5801

Hi Kenzo, It's not decided yet but I think the experimental SWT branch will be in the moved in the main tree in jfreechart 1.2.0. Regarding your second question, it's not very clear to me what you're asking. The experimental code already do that (you do not need the method SWT_AWT.new_Frame). It's q...
by heprom
Sun Feb 10, 2008 8:51 am
Forum: JFreeChart
Topic: H_Scroll bar to the ChartComposite
Replies: 1
Views: 3964

Hi Raghavan, This behaviour is not ideal since to draw the chart the bounds of the composite are used and do not take into account the scroll bar. Thus the bottom part of the chart is masked. I'm considering to switch to a Canvas instead of Composite as suggested by someone on this forum. in the mea...
by heprom
Tue Jan 29, 2008 1:17 pm
Forum: JFreeChart
Topic: SWT tooltip shift in CombinedDomainXYPlot
Replies: 5
Views: 7554

Hi Andrea,

Could you maybe post a screenshot of what's wrong? I'm developping with linux and I do not see anything abvious here. I'll have a deeper look when I get some time (pretty overbooked these days).

Henry