Version

GetSeriesValueFromSeriesPixel Method

If possible, will return the best available main value of the series for a given pixel coordinate within the current series plot area.
Syntax
'Declaration
 
Public Overridable Function GetSeriesValueFromSeriesPixel( _
   ByVal mouse As Point, _
   ByVal useInterpolation As Boolean, _
   ByVal skipUnknowns As Boolean _
) As Double
public virtual 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: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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