proper way of resizing an SVG plot?
Opened this issue · 0 comments
FilippoPolo commented
Hi all,
I'm using IDD to add zoom&pan capabilities to an SVG plot. It mostly works, but I can't get auto-resizing to work properly, specifically on height. My objective here is to maintain the same visible region as the window resizes. To do this, I periodically get the container size to see if it has changed.
I find that the plot shrinks when the container height is reduced, and remains the same height when the container height is increased. If you make the container alternately taller and shorter, this results in the plot shrinking constantly.
This is a repro: