MindFusion.Charting for JavaScript Programmer's Guide
Panel.hitTest Method
See Also
Collapse All Expand All Language Filter: All Language Filter: Multiple Language Filter: None Language Filter: C# Language Filter: Visual Basic Language Filter: Java Language Filter: JavaScript Language Filter: C++ Language Filter: XAML

C#
Visual Basic
Java
JavaScript
C++
XAML

Component.HitTest override. Returns the component containing specified point.

Namespace: MindFusion.Charting.Components
File: Panel.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

Panel Members
Panel Class
MindFusion.Charting.Components Namespace