Class RangePolicyUnbounded

  • All Implemented Interfaces:
    IRangePolicy, java.io.Serializable

    public final class RangePolicyUnbounded
    extends ARangePolicy
    A dummy IRangePolicy implementation that reflects the bounds of the connected Chart2D instance.

    Version:
    $Revision: 1.7 $
    Author:
    Achim Westermann
    See Also:
    Serialized Form
    • Method Detail

      • getMax

        public double getMax​(double chartMin,
                             double chartMax)
        Description copied from interface: IRangePolicy
        Define the upper bound of the Chart2D's value range. Depends on the AAxis this instance is bound to.
        Parameters:
        chartMin - the minimum value of the connected Chart2D that may / should be taken into account.
        chartMax - the maximum value of the connected Chart2D that may / should be taken into account.
        Returns:
        the maximum value (upper bound) for the Chart2D to display.
        See Also:
        IRangePolicy.getMax(double,double)
      • getMin

        public double getMin​(double chartMin,
                             double chartMax)
        Description copied from interface: IRangePolicy
        Define the lower bound of the Chart2D's value range. Depends on the AAxis this instance is bound to.
        Parameters:
        chartMin - the minimum value of the connected Chart2D that may / should be taken into account.
        chartMax - the maximum value of the connected Chart2D that may / should be taken into account.
        Returns:
        the minimum value (lower bound) for the Chart2D to display.
        See Also:
        IRangePolicy.getMin(double, double)