MindFusion.Charting Programmer's Guide

LineChart.HitTestBubble Method

See Also
 





Returns the Bubble at the specified x and y coordinates.

Namespace: MindFusion.Charting
Assembly: MindFusion.Charting

 Syntax

C#  Copy Code

public Bubble HitTestBubble (
    int x,
    int y
)

Visual Basic  Copy Code

Public Function HitTestBubble ( _
    x As Integer, _
    y As Integer _
) As Bubble

JavaScript  Copy Code

function HitTestBubble (x, y)

 Parameters

x
The X - coordinate of the mouse.
y

The Y - coordinate of the mouse.

 Return Value

The Bubble at the position specified by x and y; null if no Bubble is found.

 Remarks

Use the function when hit-testing bubble charts. The result can be null, so always check.

 See Also