Class AxisLog10<T extends AxisScalePolicyTransformation>

  • Type Parameters:
    T - Used to enforce that this instance only accepts AxisScalePolicyTransformation and subtypes.
    All Implemented Interfaces:
    IAxis<T>, java.beans.PropertyChangeListener, java.io.Serializable, java.util.EventListener

    public class AxisLog10<T extends AxisScalePolicyTransformation>
    extends AAxisTransformation<T>
    An AAxis with log base 10 scaled display of values.

    Caution

    This will not work with negative values (Double.NaN is computed for log of negative values).

    This will even not work with values < 1.0 as the log transformation turns negative for values < 1.0 and becomes Double.NEGATIVE_INFINITY with lim -> 0.0 with more and more turns to a 100 % CPU load.

    Version:
    $Revision: 1.15 $
    Author:
    Pieter-Jan Busschaert (contributor), Achim Westermann
    See Also:
    Serialized Form
    • Constructor Detail

      • AxisLog10

        public AxisLog10​(IAxisLabelFormatter formatter,
                         T scalePolicy)
        Constructor that uses the given label formatter for formatting labels.

        Parameters:
        formatter - needed for formatting labels of this axis. Prefer using simple implementations like LabelFormatterSimple, a log axis is complicated enough to understand.
        scalePolicy - controls the ticks/labels and their distance.