Skip to content
New issue

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

onClick param dont work #82

Open
fts-mage opened this issue Nov 22, 2017 · 0 comments
Open

onClick param dont work #82

fts-mage opened this issue Nov 22, 2017 · 0 comments

Comments

@fts-mage
Copy link

var graph = d3.select('#graph').relationshipGraph({ onClick: function (obj) { console.log('lol', obj); } }).data(link);

a click will produce this error :

d3.relationshipgraph.js:967 Uncaught TypeError: _this.configuration.onClick.child is not a function
at SVGRectElement. (d3.relationshipgraph.js:967)
at SVGRectElement.__onclick (d3.min.js:1)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant