Hi,
I have one dataset with 3 series in it. The first series is data, the second is a moving average, and the 3rd is another set I need.
When the user clicks on the chart, it will auto lock to the closest data point for any of the series.
I would like it to auto lock only to a data point in the first series.
Can someone point me to the code that accomplishes determining the anchor point to "lock on". I have looked through the code for a while now and nothing is jumping out at me.
Thanks!
-Rob
Auto Locking only to first series in dataset
-
- Posts: 7
- Joined: Wed May 17, 2006 12:46 pm
-
- JFreeChart Project Leader
- Posts: 11734
- Joined: Fri Mar 14, 2003 10:29 am
- antibot: No, of course not.
- Contact:
It is handled by updateCrosshairValues() in AbstractXYItemRenderer.java.
David Gilbert
JFreeChart Project Leader
Read my blog
Support JFree via the Github sponsorship program
JFreeChart Project Leader

