xaxis.setUpperBound(right + width * zoomSensitivity * deltaX);
/**
* Disables lower bound changing on the y axis
*/
yaxis.centerRange(0.0);
yaxis.setLowerBound(down - height * zoomSensitivity * deltaY);
yaxis.setUpperBound(up + height * zoomSensitivity * deltaY);
} else if (this.currentMouseMode == MOUSEMODE.PANX) {