The X-value of point [X data units, not pixels]
The Y-value of point [Y data units, not pixels]
xUnitsPerPixel/yUnitsPerPixel
Specifies search region in chart coordinates(ticks for DateTime or TimeSpan)
FindClosestPoint Method (DataSeries<TX,TY>)
Finds the closest point to a point with given X and Y value. Search region is a vertical area with center in X and [maxXDistance] X units to left and right
Syntax

Parameters

xValue
The X-value of point [X data units, not pixels]
yValue
The Y-value of point [Y data units, not pixels]
xyScaleRatio
xUnitsPerPixel/yUnitsPerPixel
hitTestRadius
Specifies search region in chart coordinates(ticks for DateTime or TimeSpan)

Return Value

The index of the found value, -1 if not found (when count is zero)
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also