Hi Luke,
I have to prevent zoom out and panning in the Viewbox under following circumstances.
1. There should not be any zooming out.
2. Aspect ratio should be locked to 1:1.
3. viewbox height and width can change.
I replaced the Viewbox 0.9.8 with Viewbox 0.9.9 in my sitepackage to check wheather it works properly or not. I set the limits after wihich zooming out should be disabled as the original x and y limit.
But when the the width of the viewbox is changed keeping the height constant then the aspect ratio of the graph change. I think since the x range does not change resizing when the height is fixed, hence the aspect ratio is not maintained as 1:1.
Please provide your views and idea to solve this problem.
Thanks