You develop an interactive scalable vector graphic (SVG) application.
You write the following code (Line numbers are included for reference only.):
You need to increase the size of the circle by 50 percent.
Which code segment should you insert at line 02?

A.
Option A
B.
Option B
C.
Option C
D.
Option D
Explanation:
Increase the radius (the r property) of the circle (not the graphic) by a factor 1.5.
Incorrect:
CurrentScale is used for zooming.
The HTML <svg> Element
D doesn’t seem to work.
I think it’s B.
6
0
https://jsfiddle.net/dmmov2ns/8/
None of the options work. Try uncomment the last one, that one works, but it’s not among the answers.
Additional: https://stackoverflow.com/questions/30988785/svg-scaling-in-javascript
2
0
I tried to open your jsfiddle example in IE and myGraphic.setAttribute(“currentScale”, 1.5); it works
5
0
B is the correct answer ,
but works with IE only , not working with Chrome for example , don’t know why !!
3
0