/** * Returns the x-value bounds for the specified dataset. * * @param dataset the dataset ({@code null} permitted). * * @return The bounds (possibly {@code null}). */ @Override public Range findDomainBounds(XYDataset dataset) { if (dataset == null) { return null; } // need to handle cluster centering as a special case if (this.centerBarAtStartValue) { return findDomainBoundsWithOffset((IntervalXYDataset) dataset); } else { return super.findDomainBounds(dataset); } }
/** * Returns the x-value bounds for the specified dataset. * * @param dataset the dataset (<code>null</code> permitted). * * @return The bounds (possibly <code>null</code>). */ public Range findDomainBounds(XYDataset dataset) { if (dataset == null) { return null; } // need to handle cluster centering as a special case if (this.centerBarAtStartValue) { return findDomainBoundsWithOffset((IntervalXYDataset) dataset); } else { return super.findDomainBounds(dataset); } }