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
因为参考 d3-selection,在 G2 内部的 selection 有如下的写法:
selection.each(function(d, index) { console.log(d); // 对应的数据 console.log(index); // 索引 console.log(this); // 对应的 G Element })
这样确实会有问题:
所以需要移除这个设计,通过显示的参数指定。
selection.each(function(data, index, element) { console.log(element); // 对应的 G Element })
The text was updated successfully, but these errors were encountered:
fixed: #5468
Sorry, something went wrong.
hustcc
No branches or pull requests
因为参考 d3-selection,在 G2 内部的 selection 有如下的写法:
这样确实会有问题:
所以需要移除这个设计,通过显示的参数指定。
The text was updated successfully, but these errors were encountered: