Search
Dashboard.HitTest Method
See Also
 






Searches for a series element at specified location.

Namespace: MindFusion.Charting.Blazor
Assembly: MindFusion.Charting.Blazor

 Syntax

C#  Copy Code

public HitResult HitTest (
    Point location
)

Visual Basic  Copy Code

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

 Parameters

location

A Microsoft.Maui.Graphics.Point 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