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






SeriesRenderer.NearestElement override. Returns the data item closest to specified point.

Namespace: MindFusion.Charting
Assembly: MindFusion.Charting

 Syntax

C#  Copy Code

public override HitResult NearestElement (
    RenderContext context,
    PointD location
)

Visual Basic  Copy Code

Public Overrides Function NearestElement( _
    context As RenderContext, _
    location As PointD _
) As HitResult

 Parameters

context

A RenderContext instance.

location

A PointD specifying where to look for a pie slice.

 Return Value

A HitResult instance identifying the found data item.

 See Also

PieRenderer Members
PieRenderer Class
MindFusion.Charting Namespace