MindFusion WinForms Programmer's Guide
Dashboard.HitTest Method
See Also
 





Searches for a series element at specified location.

Namespace: MindFusion.Charting.WinForms
Assembly: MindFusion.Charting.WinForms

 Syntax

C#  Copy Code

public HitResult HitTest (
    PointF location
)

Visual Basic  Copy Code

Public Function HitTest( _
    location As PointF _
) As HitResult

 Parameters

location

A System.Drawing.PointF instance specifying where to look for dashboard elements.

 Return Value

A HitResult instance containing information about found element.

 Remarks

This method searches for data elements rendered exactly at specified coordinates. To find closest data point at arbitrary location, call NearestElement.

 See Also

Dashboard Members
Dashboard Class
MindFusion.Charting.WinForms Namespace
NearestElement Method