Charting for WinForms Programmer's Guide
Dashboard.NearestElement Method
See Also

Searches for a series element closest to specified location.

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


C#  Copy Code

public HitResult NearestElement (
    PointF location

Visual Basic  Copy Code

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



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

 Return Value

A HitResult instance containing information about found element.

 See Also

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