Given a point and the X/Y cordinates of an item, returns true if the point is in proximity of
the items cordinates, using mouse sensitivity value provided.
protected function checkProximity(x:Number, y:Number, xPos:Number, yPos:Number, series:Series, sensitivity:int, checkInteractivity:Boolean, plotPoint:PlotPoint):Boolean
Given a point and the X/Y cordinates of an item, returns true if the point is in proximity of
the items cordinates, using mouse sensitivity value provided.
Parameters
x:Number — X Cordinate of the point to check
y:Number — Y Cordinate of the point to check
xPos:Number — X Cordinate of the item
yPos:Number — Y Cordinate of the item
series:Series — Series object that the item belongs to
sensitivity:int — Mouse sensitivity
checkInteractivity:Boolean — Boolean flag to see if series is interactive.