CharisKomos (Talk | contribs) |
CharisKomos (Talk | contribs) |
||
Line 113: | Line 113: | ||
} | } | ||
}); | }); | ||
+ | |||
} | } | ||
mySVG.addEventListener("load",function() { | mySVG.addEventListener("load",function() { | ||
svgDoc = mySVG.contentDocument; | svgDoc = mySVG.contentDocument; | ||
− | alert("SVG contentDocument Loaded!"); | + | //alert("SVG contentDocument Loaded!"); |
Line 134: | Line 135: | ||
}); | }); | ||
+ | var svg_elem = d3.select('#test_svg').append("svg"); | ||
+ | d3.select('svg').html("<g><text x=\"100\" y=\"100\">Hello</text></g>"); | ||
}, false); | }, false); |
Revision as of 18:39, 21 October 2017