Thanks! This works quite well!
I am noticing one thing though, after setting the visible minimum and maximum, then panning the screen manually, it changes the relative height of items on a bar graph. The height doesn't change after panning back, because the height after the initial pan is the correct value. Is there a way to get a smooth pan with no initial snapping height change, getting the after panning height set from the start? I have tried using the following code before re-rendering with the new visible minimum and maximum:
zoomingBehavior.zoomIn();
zoomingBehavior.panToDirection('right');
zoomingBehavior.zoomOut();
This does work, but it eliminates the transition animations.