File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Other Open Source Projects and the fly likes Tooltips don't Display in Cewolf-1.1-ulf Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "Tooltips don Watch "Tooltips don New topic

Tooltips don't Display in Cewolf-1.1-ulf

Martin Barker

Joined: Jun 18, 2009
Posts: 3
For many years now I’ve been successfully making use of Cewolf to generate charts in my application and I recently came across the Cewolf enhancements thoughtfully prepared and packaged by Ulf Dittmer, that amongst many other useful bug fixes and new features extends the support for chart types when using Cewolf-1.1-ulf.

Having installed the dependent jar files in my Tomcat application WEBINF/lib directory all appears to be successful and I’ve been able to generate a number of new chart types. However, I noticed that the tooltips that have until now successfully displayed in my charts are no longer visible.

At first I thought I might be making use of a deprecated feature of Cewolf in my JSP files, but having checked the examples in the download for Cewolf-1.1-ulf I notice that the tooltips don’t appear to be working here either.

Some additional investigation showed that in my current application using Cewolf-0.12.0 the tool tips also stop working if I replace the existing jfreechart jar files for release 1.0.1 with those for release 1.0.13 (upon which Cewolf-1.1-ulf seems to be dependant).

Please can anyone tell me if they’ve experienced a similar issue with the examples in the Cewolf-1.1-ulf download using JFreechart-1.0.13 so I can confirm that this isn’t something specific to my own installation?
Martin Barker

Joined: Jun 18, 2009
Posts: 3
For anyone who is interested and is experiencing a similar problem with tooltips using jfreechart. After testing on a variety of I.E, Firefox and Safari Browsers, JDK's and Tomcat versions (none of which worked) I got around the problem by replacing jfreechart-1.0.13 with the previous release jfreechart-1.0.12.jar and supporting jcommon-1.0.15.jar (both of which appear to be compatible with Cewolf-1.1-ulf).

As the tooltips are visible in all my existing charts, I can generate the new chart types successfully and the cewolf-1.1-ulf example charts now show the tooltips, I assume that the issue lies in the latest release of jfreechart-1.0.13.

However, I would still appreciate any feedback to the contrary should anyone know how to get around the problem whule still making use of jfreechart-1.0.13?

Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42965
My version of cewolf doesn't make use of any new features in JCommon 1.0.16 and JFreeChart 1.0.13, so it's safe to replace them with a JC 1.0.15/JFC 1.0.12. That was more of a routine update in the course of a new release.

Actually, since SoureForge doesn't seem to have the earlier versions any more, it would be helpful if you could make those versions available to me somehow for inclusion in cewolf.
Martin Barker

Joined: Jun 18, 2009
Posts: 3
Many thanks for your reply Ulf - I suspected that might be the case. Many thanks also for the work you and the other guys have done to improve cewolf - I have found this extremely useful.

If you have access to the jfreechart premium content web site you can find all previous versions of the source code (including the lib files) in the "Older Versions" section of their download page, but you need to pay for the jfreechart Developer Guide to get a userid/password to this site for one year.

Unfortunately the jar file exceeds the 1024 kb limit for attachments using this reply, so if you don't have access to the premium content web site and you have an alternative mechanism I will gladly pass them on, as I'm sure they should be available in the public domain (although I think it’s worth paying the GBP 48.63 to the Jfreechart guys to get access).

Otherwise, I don't have access to an FTP site at present but if you want to give me an email address via a private message I will gladly send them to you if this helps?
I agree. Here's the link:
subject: Tooltips don't Display in Cewolf-1.1-ulf
It's not a secret anymore!