GetIndicesRange Method (DataSeries<TX,TY>)
Gets the integer indices of the XValues array that are currently in the VisibleRange passed in,
and an indefinite range otherwise.
Syntax
public virtual IndexRange GetIndicesRange( IRange range, SearchMode downSearchMode, SearchMode upSearchMode )
Parameters
- range
- downSearchMode
- Specifies the search mode used to look for the index of visibleRange.Min.Min.
- upSearchMode
- Specifies the search mode used to look for the index of visibleRange.Max.Max.
Return Value
The indices to the X-Data that are currently in range.
Remarks
By default, expands PointRange to provide correct rendering for continuous series on the edges.
Example
If the input X-data is 0...99 in steps of 1, the VisibleRange is (10, 30) then the Indices Range will be 10, 30.
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