Interface Scaling

  • All Known Subinterfaces:
    Scaling.HistogramScaling, Scaling.RangeScaling

    @Equality
    public interface Scaling
    Defines a policy for scaling values to a fixed interval. The job of a Scaling is to create a Scaler, usually from information that can be gained from a Span instance. Scaling implementation classes should generally implement one of the sub-interfaces here to indicate how this can be done.
    Since:
    22 Jan 2015
    Author:
    Mark Taylor
    See Also:
    Scalings
    • Method Detail

      • getName

        java.lang.String getName()
        Returns the name of this scaling.
        Returns:
        name
      • getDescription

        java.lang.String getDescription()
        Returns a short description of this scaling.
        Returns:
        short text description
      • isLogLike

        boolean isLogLike()
        Indicates whether this scaling is logarithmic. If so, it should be displayed on logarithmic axis, and can't cope with negative values.
        Returns:
        true for basically logarithmic, false for (perhaps distorted) linear