Skip to main content
Idea

Scaling capabilities for exported svg

Related products:Lucidchart
  • December 20, 2023
  • 0 replies
  • 17 views

Forum|alt.badge.img

The exported .svg file is currently defined with “width = ...” “height = ...”. For it to automatically scale according to its parent container, it would be helpful if the size properties are set as following:

viewBox="0 0 width height"

Preferably even with the option or default to align it in the middle with:

preserveAspectRatio="xMidYMid meet"

I currently adjust this manually in the code of the .svg file and it works beautifully.