Hi,
I'm using a DefaultXYDataset and XYPlot.
I'm also using a crosshair and I am able to query the X and Y values where the crosshair points at. But I'd also like to have the values in the near area around the crosshair, e.g. the XY directly before and after to calculate a gradiant.
How can I do this? It would be great if could query the series and the index in the series, but I can't find a way to do so.
Trying to get XY-values next to the crosshair
Simple algorithm/patch/source code available at following link:
http://www.jfree.org/phpBB2/viewtopic.php?p=64888#64888
http://www.jfree.org/phpBB2/viewtopic.php?p=64888#64888