NearestHitResult Method (TernarySeriesHitTestProvider)
Called by HitTest(Point,Boolean) to get the nearest (non-interpolated) SciChart.Charting.Visuals.RenderableSeries.HitTestInfo to the mouse point
Syntax
protected override HitTestInfo NearestHitResult( Point mouseRawPoint, double hitTestRadiusInPixels, SearchMode searchMode, bool considerYCoordinateForDistanceCalculation )
Parameters
- mouseRawPoint
- The mouse point
- hitTestRadiusInPixels
- The radius (in pixels) to use when determining if the mouseRawPoint is over a data-point
- searchMode
- The search mode.
- considerYCoordinateForDistanceCalculation
- if set to
true
then perform a true euclidean distance to find the nearest hit result.
Return Value
Exceptions
Exception | Description |
---|---|
System.ArgumentException | hitTestRadiusInPixels is NaN |
System.NotImplementedException | The exception that is thrown when a requested method or operation is not implemented. |
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