Version

GetInterpolatedSeriesValue Method (StepLineSeries)

Gets a data value based on the surrounding data items.
Syntax
'Declaration
 
Protected Friend Overrides NotOverridable Function GetInterpolatedSeriesValue( _
   ByVal p As Double, _
   ByVal column As IList(Of Double), _
   ByVal prevItem As Integer, _
   ByVal nextItem As Integer, _
   ByVal unsortedPrevItem As Integer, _
   ByVal unsortedNextItem As Integer, _
   ByVal offset As Double, _
   ByVal isSorting As Boolean _
) As Double
protected internal override double GetInterpolatedSeriesValue( 
   double p,
   IList<double> column,
   int prevItem,
   int nextItem,
   int unsortedPrevItem,
   int unsortedNextItem,
   double offset,
   bool isSorting
)

Parameters

p
The distance from prevItem, expressed as a value between 0 and 1.
column
The series data values.
prevItem
The index of the previous data item.
nextItem
The index of the next data item.
unsortedPrevItem
The unsorted index of the previous data item.
unsortedNextItem
The unsorted index of the next data item.
offset
The distance between the edge of the axis and the first or last data item.
isSorting
True if the associated axis is one that sorts its items.

Return Value

A value interpolated at a distance of p between prevItem and nextItem.
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