Version

GetSeriesValueHelper Method

Helps to obtain the a series value that is close to the provided world position, if possible. Otherwise returns NaN.
Syntax
'Declaration
 
Protected Function GetSeriesValueHelper( _
   ByVal column As IList(Of Double), _
   ByVal world As Point, _
   ByVal axis As Axis, _
   ByVal pars As ScalerParams, _
   ByVal offset As Double, _
   ByVal getExactUnsortedIndex As Func(Of Point,Double), _
   ByVal useInterpolation As Boolean, _
   ByVal skipUnknowns As Boolean _
) As Double
protected double GetSeriesValueHelper( 
   IList<double> column,
   Point world,
   Axis axis,
   ScalerParams pars,
   double offset,
   Func<Point,double> getExactUnsortedIndex,
   bool useInterpolation,
   bool skipUnknowns
)

Parameters

column
The value column from which to take values.
world
The world position we want a value for.
axis
The value axis to use.
pars
The scaler parameters of the value axis.
offset
The category offset, if applicable.
getExactUnsortedIndex
Gets an unsorted index value from a sorting axis.
useInterpolation
Specifies whether to use interpolation when getting the value.
skipUnknowns
Specifies whether to skip unknown values when searching for the correct value.

Return Value

The discovered value if possible, otherwise double.NaN
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