/**
  * Returns the min-value for the specified series and item.
  *
  * @param series the series (zero-based index).
  * @param item the item (zero-based index).
  * @return The min-value for the specified series and item.
  */
 public Number getMinRegularValue(int series, int item) {
   Number result = null;
   BoxAndWhiskerItem stats = (BoxAndWhiskerItem) this.items.get(item);
   if (stats != null) {
     result = stats.getMinRegularValue();
   }
   return result;
 }
 /**
  * Returns the minimum regular (non outlier) value for an item.
  *
  * @param rowKey the row key.
  * @param columnKey the column key.
  * @return The minimum regular value.
  * @see #getItem(int, int)
  */
 public Number getMinRegularValue(Comparable rowKey, Comparable columnKey) {
   Number result = null;
   BoxAndWhiskerItem item = (BoxAndWhiskerItem) this.data.getObject(rowKey, columnKey);
   if (item != null) {
     result = item.getMinRegularValue();
   }
   return result;
 }
 /**
  * Returns the minimum regular (non outlier) value for an item.
  *
  * @param row the row index (zero-based).
  * @param column the column index (zero-based).
  * @return The minimum regular value.
  * @see #getItem(int, int)
  */
 public Number getMinRegularValue(int row, int column) {
   Number result = null;
   BoxAndWhiskerItem item = (BoxAndWhiskerItem) this.data.getObject(row, column);
   if (item != null) {
     result = item.getMinRegularValue();
   }
   return result;
 }
 /**
  * Adds an item to the dataset.
  *
  * @param date the date.
  * @param item the item.
  */
 public void add(Date date, BoxAndWhiskerItem item) {
   this.dates.add(date);
   this.items.add(item);
   if (this.minimumRangeValue == null) {
     this.minimumRangeValue = item.getMinRegularValue();
   } else {
     if (item.getMinRegularValue().doubleValue() < this.minimumRangeValue.doubleValue()) {
       this.minimumRangeValue = item.getMinRegularValue();
     }
   }
   if (this.maximumRangeValue == null) {
     this.maximumRangeValue = item.getMaxRegularValue();
   } else {
     if (item.getMaxRegularValue().doubleValue() > this.maximumRangeValue.doubleValue()) {
       this.maximumRangeValue = item.getMaxRegularValue();
     }
   }
   this.rangeBounds =
       new Range(this.minimumRangeValue.doubleValue(), this.maximumRangeValue.doubleValue());
 }