ScalarMap setRange(int, int) - Limiting display

Hi All

When I use the setRange method to scale the axis, my
actual display go over the axis which I redefined 
with the setRange function.

Is there a way to limit the new display to be only
within the range?

Regards 
Corne