Skip to content

Commit

Permalink
fix cal_heatmap tips location error (apache#5480) (apache#5587)
Browse files Browse the repository at this point in the history
* fix cal_heatmap tips location error

* fix graph-legend
  • Loading branch information
Narcissus7 authored and mistercrunch committed Aug 13, 2018
1 parent d1ef81f commit 7d61eea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions superset/assets/vendor/cal-heatmap/cal-heatmap.js
Original file line number Diff line number Diff line change
Expand Up @@ -897,7 +897,7 @@ var CalHeatMap = function() {
if (options.tooltip) {
selection
.on("mouseover", function(d) {
self.tip.show(d);
self.tip.show(d, this);
})
.on("mouseout", function() {
self.tip.hide(d);
Expand Down Expand Up @@ -3285,7 +3285,7 @@ Legend.prototype.redraw = function(width) {
});
legendItem
.on("mouseover", function(d) {
calendar.legendTip.show(d);
calendar.legendTip.show(d, this);
})
.on("mouseout", function() {
calendar.legendTip.hide();
Expand Down

0 comments on commit 7d61eea

Please sign in to comment.