Class JISALogTransform

  • All Implemented Interfaces:
    de.gsi.chart.axes.AxisTransform

    public class JISALogTransform
    extends de.gsi.chart.axes.spi.transforms.AbstractAxisTransform
    • 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

      • JISALogTransform

        public JISALogTransform​(de.gsi.chart.axes.Axis axis)
    • Method Detail

      • backward

        public double backward​(double val)
      • forward

        public double forward​(double val)
      • getLogarithmBase

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

        public double getRoundedMaximumRange​(double max)
      • getRoundedMinimumRange

        public double getRoundedMinimumRange​(double min)
      • log

        protected double log​(double value)
      • 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
      • pow

        protected double pow​(double value)
      • setLogarithmBase

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

        public void setMaximumRange​(double val)
        Specified by:
        setMaximumRange in interface de.gsi.chart.axes.AxisTransform
        Overrides:
        setMaximumRange in class de.gsi.chart.axes.spi.transforms.AbstractAxisTransform
      • setMinimumRange

        public void setMinimumRange​(double val)
        Specified by:
        setMinimumRange in interface de.gsi.chart.axes.AxisTransform
        Overrides:
        setMinimumRange in class de.gsi.chart.axes.spi.transforms.AbstractAxisTransform