Hi, I am using the SWT version of JFreechart and found some problems with the tooltip position. The position of the plots is shifted along the range axis. anyone else experiencing the same problem? Any hint to solve this?
Also I had some problems with the SwtChartEditor when the chartcomposite is embedded in widgets like the wizard. The editor freezes and is unusable until the wizard is closed. I solved this by wrapping the thing inside a swt Dialog.
Is this the right place to post or is there a dedicated SWT part I couldn't find?
Thanks,
Andrea
SWT tooltip shift in CombinedDomainXYPlot
Hi heprom,
sorry for this late reply.
I'm using version 1.0.9.
Playing a bit around I noticed that this problem occurs only on linux. I tried the same application on windows and it works properly.
The chartcomposite example in the demo should really give this problem, since I just applied that code.
I will chek again and post piece of code if I found it different.
Thanks for your reply,
Andrea
sorry for this late reply.
I'm using version 1.0.9.
Playing a bit around I noticed that this problem occurs only on linux. I tried the same application on windows and it works properly.
The chartcomposite example in the demo should really give this problem, since I just applied that code.
I will chek again and post piece of code if I found it different.
Thanks for your reply,
Andrea
Hy Henry,
I finally traced the problem after a month of from time to time guessing I was gone mad, since I couldn't reproduce it.
I don't have a screenshot, but I can attach one if needed, tho I'm sure I can explain the problem now.
Following the few step you should have the problem:
- create a chart in a shell of dimension 1/5 of your screen (1/5 is just to better notice the problem)
- resize the shell to fullscreen
Now try to get a tooltip. It should be shifted along the Y-axis.
Sorry for the delay, I noticed it by chance.
Andrea
I finally traced the problem after a month of from time to time guessing I was gone mad, since I couldn't reproduce it.
I don't have a screenshot, but I can attach one if needed, tho I'm sure I can explain the problem now.
Following the few step you should have the problem:
- create a chart in a shell of dimension 1/5 of your screen (1/5 is just to better notice the problem)
- resize the shell to fullscreen
Now try to get a tooltip. It should be shifted along the Y-axis.
Sorry for the delay, I noticed it by chance.
Andrea
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 implemented the tool tip thing I use a slightly simpler version than the ChartPanel class, it could be related.
I'm also wondering if what you're saying could be related to bug 1778470. I've created a new bug (1901628), please post there if you've got more infos (like code to reproduce). I do not know when I'll have the time to fix this, I'm really behind the schedule these days. Hopefully I can get my hands on the 3 entity related bugs soon.
Thanks for reporting the bug.
I remember when I implemented the tool tip thing I use a slightly simpler version than the ChartPanel class, it could be related.
I'm also wondering if what you're saying could be related to bug 1778470. I've created a new bug (1901628), please post there if you've got more infos (like code to reproduce). I do not know when I'll have the time to fix this, I'm really behind the schedule these days. Hopefully I can get my hands on the 3 entity related bugs soon.
Thanks for reporting the bug.