Answer the question
In order to leave comments, you need to log in
How to scale SVG so as to preserve the radius of circles?
There is such a graph made with SVG -
Its width is 100%, i.e. at the time the SVG was created, it is not known. The chart is correctly "stretched" using the preserveAspectRatio="none" parameter. However, this same setting flattens the circles.
Is there some way to keep width=100% but so that the radii of the circles inside the SVG don't break when the SVG is resized?
Answer the question
In order to leave comments, you need to log in
Still, the version of Moskus with a "terribly short line" - or rather, with a line of zero length - turns out to be the least perverted of all possible types of perversions. Circle is replaced with:
and it stretches like rubber.
You can't do that with pure SVG. There are two ways to solve the problem here:
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question