public interface ILogarithmicCoordinateCalculator extends ICoordinateCalculator
LogarithmicCoordinateCalculator
.
Using pre-computed constants, types which implement ILogarithmicCoordinateCalculator can convert from pixel coordinate to data value and back.Modifier and Type | Method and Description |
---|---|
double |
fromExponent(double exponent)
Applies the inverse transformation to the provided exponent, returning the corresponding data value.
|
double |
getLogarithmicBase()
Returns the base of the current logarithmic transformation.
|
double |
toExponent(double dataValue)
Applies a logarithmic transformation to the provided data value, returning the exponent of it.
|
getCoordinate, getCoordinates, getCoordinatesOffset, getDataValue, getDataValues, getMaxAsDouble, getMinAsDouble, getViewportDimension, hasFlippedCoordinates, isCategoryAxisCalculator, isHorizontalAxisCalculator, isLogarithmicAxisCalculator, isXAxisCalculator, translateBy
double toExponent(double dataValue)
dataValue
- Value to which logarithmic transformation will be applied.double fromExponent(double exponent)
toExponent(double)
.exponent
- Exponent which will to which the inverse logarithmic transformation will be applied.double getLogarithmicBase()