Nearest DomainAxisValue in CombinedDomainXYPlot?

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
Martin
Posts: 23
Joined: Thu Apr 24, 2003 10:25 am
Location: Germany-Essen

Nearest DomainAxisValue in CombinedDomainXYPlot?

Post by Martin » Fri Nov 18, 2005 3:39 pm

How do I get the nearest DomainAxisValue to a mouse click in a CombinedDomainXYPlot?
I constructed an CombinedDomainXYPlot based on two subplots.
Within a ChartMouseListener I want to identify the nearest date value to the mouse click occurence. The getDomainCrosshairValue method delivers always 0.0.

Who can help me on this?

Martin

Locked