Crosshair and tooltips don't mix?

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
blueser
Posts: 23
Joined: Wed Sep 14, 2005 5:05 pm

Crosshair and tooltips don't mix?

Post by blueser » Sat Jul 07, 2007 2:53 am

Hi,

I just enabled horizontal and vertical axis traces and realized they don't mix with tooltips :( I am not sure I am doing something wrong). When the mouse stops over one of the dataset points the tooltip is shown as expected, but that causes the trace lines to stay on the chart (they are not removed).

I just tried ScatterPlotDemo1 and ScatterPlotDemo2 and realized that tooltips are turned off for them. Is this a coincidence or I shouldn't really try to mix crosshairs and tooltips?

TIA

Andre

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 » Mon Jul 09, 2007 12:40 pm

They don't mix. I don't know of a good way to fix that. I thought this was documented, but if it is I can't see it. I'll add some notes in appropriate places.
David Gilbert
JFreeChart Project Leader

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

blueser
Posts: 23
Joined: Wed Sep 14, 2005 5:05 pm

Post by blueser » Mon Jul 09, 2007 5:48 pm

Hi David,

thks for the confirmation. Indeed, some words about it on the docs would be helpful ;)

Regards,

Andre

wzwei28
Posts: 105
Joined: Wed Mar 16, 2005 9:17 am
Location: Malaysia, Earth
Contact:

Post by wzwei28 » Fri Oct 12, 2007 3:24 pm

Simple algorithm/patch/source code available at following link:
http://www.jfree.org/phpBB2/viewtopic.php?p=64888#64888

Locked