Search found 2 matches

by DarkMark
Thu Jun 14, 2007 1:14 pm
Forum: JFreeChart
Topic: Trying to get XY-values next to the crosshair
Replies: 1
Views: 5317

Trying to get XY-values next to the crosshair

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 thi...
by DarkMark
Thu Jun 14, 2007 10:39 am
Forum: JFreeChart
Topic: XYChart Crosshair click bug?
Replies: 5
Views: 9265

I had the same problem and found a workaround with a combination of ChartMouseListener and ChartProgressListener. I can't see a significant performance impact, it was slow before and still is. Here is my code, maybe it helps: public class CrosshairListener implements ChartMouseListener, ChartProgres...