Tooltip Problem

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
jaypee
Posts: 32
Joined: Fri Mar 24, 2006 2:35 am

Tooltip Problem

Post by jaypee » Tue May 09, 2006 9:37 am

Hi,

I'm using cewolf to generate charts in the webpage. I've been able to customize it using chartprocessor. I populated it using a database.

Now I have a problem on how to generate the tooltips. I need to show the values and some other data whenever the mouse goes over the point. Please help. I've been working on it for sometime now. I don't know where to start. A sample code would be great.

Any help would be greatly appreciated.

Jaypee

david.gilbert
JFreeChart Project Leader
Posts: 11734
Joined: Fri Mar 14, 2003 10:29 am
antibot: No, of course not.
Contact:

Post by david.gilbert » Tue May 09, 2006 9:37 am

You need to create an HTML image map for the chart. I don't have a clue about how to do that in Cewolf - maybe someone else can help there.
David Gilbert
JFreeChart Project Leader

:idea: Read my blog
:idea: Support JFree via the Github sponsorship program

angel
Posts: 899
Joined: Thu Jan 15, 2004 12:07 am
Location: Germany - Palatinate

Post by angel » Tue May 09, 2006 10:09 am

There are many examples in this forum how this could be done, but only without cewolf.

jaypee
Posts: 32
Joined: Fri Mar 24, 2006 2:35 am

Post by jaypee » Tue May 09, 2006 10:16 am

Thanks david and angel :)

How do I do this without cewolf? Would you be kind enough to point me to an example code to make a graph in jsp without cewolf? Thanks :)

angel
Posts: 899
Joined: Thu Jan 15, 2004 12:07 am
Location: Germany - Palatinate

Post by angel » Tue May 09, 2006 11:01 am


Locked