【发布时间】:2014-11-01 05:58:00
【问题描述】:
这是我的代码,如何设置 attr("background-color","red")
var datacollection = stackmap.append("text")
.attr("x", 40)
.attr("y", 50)
.attr("fill", "#8b8b8b")
.attr("font", "14px segoe ui")
.append("tspan")
.text("*content : Oh My God " + window.year);
【问题讨论】:
标签: javascript svg d3.js