Class LogarithmicAxisTransform

    • Field Detail

      • DEFAULT_LOGARITHM_BASE

        public static final double DEFAULT_LOGARITHM_BASE
        See Also:
        Constant Field Values
      • DEFAULT_LOG_MIN_VALUE

        public static final double DEFAULT_LOG_MIN_VALUE
        See Also:
        Constant Field Values
      • DB20_LOGARITHM_BASE

        public static final double DB20_LOGARITHM_BASE
      • DB10_LOGARITHM_BASE

        public static final double DB10_LOGARITHM_BASE
    • Constructor Detail

      • LogarithmicAxisTransform

        public LogarithmicAxisTransform​(Axis axis)
    • Method Detail

      • logarithmBaseProperty

        public javafx.beans.property.DoubleProperty logarithmBaseProperty()
        Base of the logarithm used by the axis, must be grater than 1.

        Default value: 10

        Returns:
        base of the logarithm
      • getLogarithmBase

        public double getLogarithmBase()
        Returns the value of the logarithmBaseProperty().
        Returns:
        base of the logarithm
      • setLogarithmBase

        public void setLogarithmBase​(double value)
        Sets value of the logarithmBaseProperty().
        Parameters:
        value - base of the logarithm, value > 1
      • log

        protected double log​(double value)
      • pow

        protected double pow​(double value)
      • forward

        public double forward​(double val)
        Description copied from interface: AxisTransform
        default forward transform for affine functions: backward(forward(val)) = forward(backward(val)) = val;
        Parameters:
        val - input value
        Returns:
        output value
      • backward

        public double backward​(double val)
        Description copied from interface: AxisTransform
        default backward transform for affine functions: backward(forward(val)) = forward(backward(val)) = val;
        Parameters:
        val - input value
        Returns:
        output value
      • getRoundedMinimumRange

        public double getRoundedMinimumRange​(double min)
      • getRoundedMaximumRange

        public double getRoundedMaximumRange​(double max)