This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes Other Open Source Projects and the fly likes cewolf tooltips from resultset Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "cewolf tooltips from resultset" Watch "cewolf tooltips from resultset" New topic

cewolf tooltips from resultset

vina kum

Joined: Jun 24, 2009
Posts: 21
Hi Ranchers
I am developing cewolf barcharts in my JSP page and i am successful in making barcharts from database but now i want to display tooltips on my chart when a mouse move to that particular bar i want to get the count of it as tooltip here i am getting date as COUNT please help me how to get the tooltip i am giving my resultset data

Thanks in advance
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42959
You'll need a class that implements one of subinterfaces of de.laures.cewolf.tooltips.ToolTipGenerator; which one depends on the kind of chart you're using.

The example web app that comes with my cewolf distribution -which you should instead of the official one from SourceForge; see my signature- contains an example for a category plot in the cewolfset.jsp page; search for "categoryToolTipGenerator". (That's just an example, though - you should NOT implement it as part of the JSP).)
It is sorta covered in the JavaRanch Style Guide.
subject: cewolf tooltips from resultset
It's not a secret anymore!