Search found 2 matches

by mykbaker
Tue Apr 20, 2010 9:01 pm
Forum: JFreeChart
Topic: How to get actual plot location on click?
Replies: 4
Views: 7010

Re: How to get actual plot location on click?

You can get the nearest point by using plot.getDomainCrosshairValue() and plot.getRangeCrosshairValue().
by mykbaker
Tue Apr 20, 2010 5:54 pm
Forum: JFreeChart
Topic: How to get actual plot location on click?
Replies: 4
Views: 7010

How to get actual plot location on click?

I need to be able to get the plot coordinates when the user right clicks on the plot. It seems pretty easy to get the coordinates for the nearest point, but is there an way to get the click location?