Number x = plot.getXVal(point);
Number y = plot.getYVal(point);
selection = null;
double xDistance = 0;
double yDistance = 0;
<BUG>for (SeriesAndFormatter<XYSeries, ? extends XYSeriesFormatter> sfPair : plot.getSeriesRegistry().asList()) {
XYSeries series = sfPair.getSeries();</BUG>
for (int i = 0; i < series.size(); i++) {
Number thisX = series.getX(i);
Number thisY = series.getY(i);

Number x = plot.getXVal(point);
Number y = plot.getYVal(point);
selection = null;
double xDistance = 0;
double yDistance = 0;
for (SeriesAndFormatter<XYSeries, ? extends XYSeriesFormatter> sfPair : plot.getSeriesRegistry()) {
XYSeries series = sfPair.getSeries();
for (int i = 0; i < series.size(); i++) {
Number thisX = series.getX(i);
Number thisY = series.getY(i);
