DefaultStatisticalCategoryDataset.getRangeBounds does not correctly compute the range when minimumRangeValueIncStdDev or maximumRangeValueIncStdDev is NaN. In such a case it should fallback to using the minimumRangeValue and maximumRangeValue.
Suboptimal workaround:
private class Dataset extends DefaultStatisticalCategoryDataset {
@Override
public Range getRangeBounds(boolean includeInterval) {
Range result = super.getRangeBounds(includeInterval);
if (result == null && includeInterval) {
result = super.getRangeBounds(false);
}
return result;
}
}
I committed a JUnit test and a fix for this, to be included in the upcoming JFreeChart 1.0.14 release.