【发布时间】:2015-05-02 03:17:47
【问题描述】:
我正在使用 d3plus 进行可视化。这是我的小提琴。http://jsfiddle.net/kasimsert/wLvpph35/11/ I want to make some basic custom processing over elements like tooltips, rectangles etc.However I could not find a way to do it with d3 selectors.As far as I see problem is when selector function works this elements are not there.为此,我在 html 正文中添加了 onLoad 函数,但没有任何变化。我的问题是在代码流中我应该在什么时候调用这样的代码块才能生效?
d3.select(".d3plus_tooltip_container")
.style("background-color", 'red');
【问题讨论】:
标签: javascript d3.js d3plus