EJSC.Chart.findClosestPoint

See Also

Top  Previous  Next

 

Definition

 

EJSC.Point findClosestPoint( interger x, integer y, boolean select, boolean sticky )

 

Description

 

Given X and Y as screen pixel coordinates (not chart coordinates), this method will find and return the closest point in any of its series.  Optionally, the point may be selected by sending true for the select parameter and displayed as either as a popup hint (i.e. when a user hovers over a point) by sending false for the sticky parameter or a sticky hint (i.e. a user clicks on a point) by sending true.