Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Dynamically create segments in SVG using javascript

ANSWERED

Hi,

I need to create n number of sections inside a SVG tag programmatically from javascript. Is it posiible to do so ? If yes; how can i do that....?

 

I tried using javascript append method but its not working...!!!

Best Answer
0 Votes
1 BEST ANSWER

Accepted Solutions

It can't be done (currently). You need to declare all elements in .ui code. You can set their initial display property to "none" to create the appearance of dynamic creation.

Peter McLennan
Gondwana Software

View best answer in original post

Best Answer
0 Votes
1 REPLY 1

It can't be done (currently). You need to declare all elements in .ui code. You can set their initial display property to "none" to create the appearance of dynamic creation.

Peter McLennan
Gondwana Software
Best Answer
0 Votes