ICategoryCoordinateCalculator
Defines the interface to a CategoryDateTimeAxis specific ICoordinateCalculator, to convert from pixel coordinate to index to data value and back
Implementa: ICoordinateCalculator<double>
Métodos
TransformDataToIndex(DateTime) : int
Takes a DateTime data-value and transforms to integer index on the axis e.g. if the axis is a CategoryDateTimeAxis, accepts DateTime, returns index. If the DateTime lies outside of the data-range, a projection is performed
- dataValue
- The data value
Devuelve: The index to the underlying data series
TransformDataToIndex(DateTime, SearchMode) : int
Takes a DateTime data-value and transforms to integer index on the axis e.g. if the axis is a CategoryDateTimeAxis, accepts DateTime, returns index. If the DateTime lies outside of the data-range, a projection is performed
- dataValue
- The data value
- searchMode
- Indicates a way in wich to look for the
Devuelve: The index to the underlying data series or -1 if Exact and the doesn't exist.
TransformIndexToData(int) : DateTime
Takes an integer index (or point number) to the underlying data and transforms to the data value on the axis. e.g. if the axis is a CategoryDateTimeAxis, accepts index, returns DateTime. If the index lies outside of the data-range, a projection is performed
- index
- The index to the underlying data series
Devuelve: The data value