MindFusion.Charting for JavaScript Programmer's Guide
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

Type: Number
X coordinate of the point to test.

y

Type: Number
Y coordinate of the point to test.

 Return Value

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

 See Also

Component Members
Component Class
MindFusion.Charting.Components Namespace