}
else if (includeInterval
&& dataset instanceof MultiValueCategoryDataset) {
// handle the special case where the dataset has y-intervals that
// we want to measure
MultiValueCategoryDataset mvcd
= (MultiValueCategoryDataset) dataset;
for (Comparable seriesKey : visibleSeriesKeys) {
int series = dataset.getRowIndex(seriesKey);
for (int column = 0; column < columnCount; column++) {
List<Number> values = mvcd.getValues(series, column);
for (Number o : values) {
double v = o.doubleValue();
if (!Double.isNaN(v)) {
minimum = Math.min(minimum, v);
maximum = Math.max(maximum, v);