}
}
}
for (XYAnnotation includedAnnotation : includedAnnotations) {
XYAnnotationBoundsInfo xyabi = (XYAnnotationBoundsInfo) includedAnnotation;
if (xyabi.getIncludeInDataBounds()) {
if (isDomainAxis) {
result = Range.combine(result, xyabi.getXRange());
} else {
result = Range.combine(result, xyabi.getYRange());
}
}
}
return result;