• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

cewolf tooltips from resultset

 
vina kum
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Posts: 42969
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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).)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic