dataset.addSeries(series);
Range r = renderer.findRangeBounds(dataset);
assertNull(r);
// test findDomainBounds as well
r = renderer.findDomainBounds(dataset);
assertEquals(r.getLowerBound(), 1.0, EPSILON);
assertEquals(r.getUpperBound(), 1.0, EPSILON);
dataset.removeAllSeries();
r = renderer.findDomainBounds(dataset);