We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The .on functions need updating to accommodate d3 v6 - now for .on events, the event is the first argument and the datum (d) the second. https://github.com/d3/d3/blob/master/CHANGES.md
It means for v6 we now get the mouseevent returned as 'd' in d3-legend functions like .on("cellclick", function(d){alert("clicked " + d);});
.on("cellclick", function(d){alert("clicked " + d);});
Checking the code there is no second argument returned so .on("cellclick", function(ev, d){alert("clicked " + d);}); doesn't work
.on("cellclick", function(ev, d){alert("clicked " + d);});
The text was updated successfully, but these errors were encountered:
have the same issue...
@susielu any progress?
Sorry, something went wrong.
look at this fork d3-v7
No branches or pull requests
The .on functions need updating to accommodate d3 v6 - now for .on events, the event is the first argument and the datum (d) the second. https://github.com/d3/d3/blob/master/CHANGES.md
It means for v6 we now get the mouseevent returned as 'd' in d3-legend functions like
.on("cellclick", function(d){alert("clicked " + d);});
Checking the code there is no second argument returned so
.on("cellclick", function(ev, d){alert("clicked " + d);});
doesn't workThe text was updated successfully, but these errors were encountered: