Modify tooltip so one doesn't have to point at the tip

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
deepika
Posts: 13
Joined: Fri May 13, 2005 2:00 pm

Modify tooltip so one doesn't have to point at the tip

Post by deepika » Mon Oct 23, 2006 5:23 pm

Hi,

I want to overwrite the tool tip so that when one wants to see the (X,Y) value of a given series, he/she doesn't have to move the mouse at the tip of the chart. I want to be able to put the mouse anywhere along the X-axis for a given series and still see its (X,Y) value. I am trying to do this using renderer.setLabelGenerator()...is this is the right way?

I also tried using custom tool tip generator by providing my own generateToolTip() method but that still require one to point right at the tip of the chart in order to see the value.

Can anyone help me out with this? Any help is greatly appeciated.
Thanks & Regards,
Deepika

Locked