Unable to select with D3.js in Chrome

前端 未结 1 646
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-07 03:50

Chrome doesn\'t select with D3.js. In the following code all selections are empty.



        
相关标签:
1条回答
  • 2020-12-07 04:34

    This is a bug in webkit -- see the bug report. The short answer is that for it's just broken. You may be able to work around this by keeping explicit references to the gradients you need to modify, e.g.

    var grad1 = defs.append("linearGradient");
    
    0 讨论(0)
提交回复
热议问题