Class XYDataRangeAnnotation

All Implemented Interfaces:
Serializable, Cloneable, Annotation, XYAnnotation, XYAnnotationBoundsInfo

public class XYDataRangeAnnotation extends AbstractXYAnnotation implements XYAnnotationBoundsInfo
This annotation can be put on an XYPlot to ensure a visible data range. The range values should be specified w.r.t. to the first (index 0) domain or range axis.
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
    • minimumDomainRange

      private final Range minimumDomainRange
    • minimumRangeRange

      private final Range minimumRangeRange
  • Constructor Details

    • XYDataRangeAnnotation

      public XYDataRangeAnnotation(Range minimumDomainRange, Range minimumRangeRange)
      Creates a new instance.
      Parameters:
      minimumDomainRange - the range to ensure on the domain axis (null permitted).
      minimumRangeRange - the range to ensure on the range axis (null permitted).
  • Method Details