[big_number] tooltip shows in the wrong place (#5404)

This commit is contained in:
Maxime Beauchemin 2018-07-16 14:59:14 -07:00 committed by GitHub
parent 4fa416347d
commit 48317fd8f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -186,11 +186,11 @@ function bigNumberVis(slice, payload) {
.attr('fill-opacity', 0)
.on('mouseover', function (d) {
d3.select(this).attr('fill-opacity', 1);
tip.show(d);
tip.show(d, this);
})
.on('mouseout', function (d) {
d3.select(this).attr('fill-opacity', 0);
tip.hide(d);
tip.hide(d, this);
});
div.on('mouseover', function () {