src/core/core.interaction.js
function(chart, e, options) {
			var position = getRelativePosition(e, chart);
			options.axis = options.axis || 'xy';
			var distanceMetric = getDistanceMetricForAxis(options.axis);
			return getNearestItems(chart, position, options.intersect, distanceMetric);
		}
function(chart, e, options) {
			var position = getRelativePosition(e, chart);
			options.axis = options.axis || 'xy';
			var distanceMetric = getDistanceMetricForAxis(options.axis);
			return getNearestItems(chart, position, options.intersect, distanceMetric);
		}
function ( chart , e , options ) { var position = getRelativePosition ( e , chart ) ; options . axis = options . axis || 'xy' ; var distanceMetric = getDistanceMetricForAxis ( options . axis ) ; return getNearestItems ( chart , position , options . intersect , distanceMetric ) ; }
nearest mode returns the element closest to the point
@function Chart.Interaction.modes.intersect
@param {Chart} chart - the chart we are returning items from
@param {Event} e - the event we are find things at
@param {IInteractionOptions} options - options to use
@return {Chart.Element[]} Array of elements that are under the point. If none are found, an empty array is returned
nearest mode returns the element closest to the point