Tooltip not mapped according to bars

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
Rahul Gupta
Posts: 11
Joined: Wed Apr 20, 2005 1:55 pm
Location: India

Tooltip not mapped according to bars

Post by Rahul Gupta » Wed Apr 20, 2005 2:22 pm

Hi all,

I'm using getImagemap() method of ChartUtilies to get ImageMap to show tooltips on the bars. Tooltips are generated fine but these are not coming according to bars, i mean to say that tooltip of first bar is coming on mouse-over on second bar and so on.

Thanks in advance...
Rahul K. Gupta

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 » Wed Apr 20, 2005 6:02 pm

Do you have a test case I can use to reproduce the problem?
David Gilbert
JFreeChart Project Leader

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

Paquerette

Post by Paquerette » Wed Apr 20, 2005 6:22 pm

Hi,

I had the same issue...

Just check that the image size, and the size you give as attributes to the <IMG html tag are the same...

Or just dont put height and width to the <IMG Html tag...


Paquerette

Rahul Gupta
Posts: 11
Joined: Wed Apr 20, 2005 1:55 pm
Location: India

Post by Rahul Gupta » Thu Apr 21, 2005 6:12 am

Hi Paquerette,

Thank u very much. This is working fine now.
And I'm feeling sily on my question.

Thanks again for quick reply to u and dave both.
Rahul K. Gupta

Locked