1
我想在D3中旋轉異物。這裏是我的代碼:如何旋轉異物
svg
.append("foreignObject")
.attr('x', 0)
.attr("width", 200)
.attr("height", 50)
.append("xhtml:body")
.html("<p>rotate</p>")
.style('-webkit-transform', 'rotate(90)');
感謝現在的工作。 –