我正在用 d3plus 进行可视化。这是我的小提琴。http://jsfiddle.net/kasimsert/wLvpph35/11/ 我想对工具提示、矩形等元素进行一些基本的自定义处理。但是我找不到使用 d3 选择器的方法。据我所知问题is when selector function works this elements are not there. 为此,我在 html 正文中添加了 onLoad 函数,但没有任何变化。我的问题是在代码流中我应该在什么时候调用这样的代码块才能生效?
d3.select(".d3plus_tooltip_container")
.style("background-color", 'red');