MindFusion.Charting Programmer's Guide

BarChart.HitTest Method

See Also
 





Returns the bar at the specified position.

Namespace: MindFusion.Charting
Assembly: MindFusion.Charting

 Syntax

C#  Copy Code

public override ChartElement HitTest (
    int x,
    int y
)

Visual Basic  Copy Code

Public Overrides Function HitTest ( _
    x As Integer, _
    y As Integer _
) As ChartElement

JavaScript  Copy Code

function HitTest (x, y)

 Parameters

x
the X - coordinate of the mouse
y
the Y - coordinate of the mouse

 Return Value

The hitted bar or null.

 See Also