EJSC.Series.findClosestByPoint

See Also

Top  Previous  Next

 

Definition

 

EJSC.Point findClosestByPoint( object coordinate )

 

point  = {

               x: axis coordinate,

               y: axis coordinate

}

 

 

Description

 

Returns the point object closest to the axis coordinates provided.  The x and y properties of the coordinate object should be based on the top left of the viewport and take into account the page scroll.  To locate points based on axis coordinates, see Series.findClosestByPoint()