* the new upper bound.
*/
public void zoomRange(final double lowerPercent, final double upperPercent) {
final double start = this.range.getLowerBound();
final double length = this.range.getLength();
Range adjusted = null;
if (this.isInverted()) {
adjusted = new Range(start + (length * (1 - upperPercent)), start
+ (length * (1 - lowerPercent)));
} else {
adjusted = new Range(start + length * lowerPercent, start + length
* upperPercent);
}
this.setRange(adjusted);
}