Thomas DeWeese wrote:

This is because your root SVG doesn't have a width/height and viewBox (doesn't really matter what the viewBox is but it needs to have one - width & height are a little optional but still a good idea).

   Also my CVS commit this morning should fix the viewBox problem
anyways.
cool ! I'll try it out now.

   BTW one other point things will be a tad bit more efficient
if you append your content under the child svg and then append
the svg to the document (rather than appending the svg and then
appending your content to the svg).

why is this? I am very much interested in any efficiency gains !
(At the moment we are trying to optimize performance when appending about 10000 path elements to the DOM tree so any other tips about possible performance/efficiency gains are well appreciated)


Unfortunately, i only create this second svg element once. Subsequent updates are always appended to this element.


Thanks Jorg

PS I didn't see the commit over on dev@, are commit emails disabled ATM?


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to