Problem, i tried, but, the second svg is in html parts, but invisible.
I made simple exemple working, with 1 svg in the div and adding rect..
http://jsfiddle.net/eomer/4NznA/
this exemple show how to add data and manage delayed update..
make one svg by div… I think it’s the key.. wrong.?
De : d3...@googlegroups.com [mailto:d3...@googlegroups.com] De la part de Curran
Envoyé : jeudi 27 mars 2014 05:08
À : d3...@googlegroups.com
Objet : How to position and size an SVG programmatically? (dynamic CSS not working)
--
You received this message because you are subscribed to the Google Groups "d3-js" group.
To unsubscribe from this group and stop receiving emails from it, send an email to d3-js+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Does anyone else see the same behavior, where the blue rectangle does not appear when it should?
Any tips on how to implement programmatic SVG positioning and sizing in another way?
Might this be a bug in WebKit?
The only hack that seems to work is changing the value of position after the timeout, but this works because the two have the same appearance, it's still a bug IMO: