d3 / d3

Bring data to life with SVG, Canvas and HTML. :bar_chart::chart_with_upwards_trend::tada:

Home Page:https://d3js.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

'this' in d3 and 'this' in es6 class is conflicting

wfy-belief opened this issue · comments

hello!
I use es6 class to write code.but when I define the function of mouseover,I find 'this' in d3 and 'this' in es6 class is conflicting。
Is there any solution to this problem?
thanks!!