Search
Component.hitTest Method
See Also
 






Returns the component containing specified point.

Namespace: MindFusion.Charting.Components
File: Component.js

 Syntax

JavaScript  Copy Code

function hitTest (x, y)

 Parameters

x

X coordinate of the point to test.

y

Y coordinate of the point to test.

 Return Value

A Component instance if one contains the point, or null otherwise.

 See Also