Scale and math problem

Hi

im trying to build a bandwidth detector and im having a problem with scales.

i have this so far : http://masgdl.com/tests/bandwidthMeter/

as you can see in the example i want the scale to be big at the beginning and then smaller.

its like a cropped chart , when the data is mainly small but there are still some big values and you want to see all data in a small area .

I hope you can help me.

thanks :beer2: