TransformDataToIndex(T,SearchMode) Method
Takes a T data-value and transforms to integer index on the axis
e.g. if the axis is a CategoryDateTimeAxis, accepts DateTime, returns index.
If the T lies outside of the data-range, a projection is performed
Syntax
int TransformDataToIndex( T dataValue, SearchMode searchMode )
Parameters
- dataValue
- The data value
- searchMode
- Indicates a way in wich to look for the dataValue
Return Value
The index to the underlying data series or -1 if SciChart.Charting.Common.Extensions.SearchMode.Exact and the dataValue doesn't exist.
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