Version

GetSeriesValueFromSeriesPixel Method (Series)

If possible, will return the best available main value of the series for a given pixel coordinate within the current series plot area.
Syntax
public double GetSeriesValueFromSeriesPixel( 
   Point mouse,
   bool useInterpolation,
   bool skipUnknowns
)

Parameters

mouse
The series coordinate for which to get the value for.
useInterpolation
If true, interpolation should be used to get in-between values, rather than only the actual values in the data set.
skipUnknowns
If true, unknown values will be skipped when searching for a series value.

Return Value

The value in question, or double.NaN if no valid value is available.
Requirements

Target Platforms: Android 4.4+, iOS 8+

Development Environments: Visual Studio 2015+, Visual Studio for Mac Preview, Xamarin for Visual Studio 4.2+

See Also