mirror of https://github.com/apache/superset.git
* fix cal_heatmap tips location error * fix graph-legend
This commit is contained in:
parent
d1ef81f102
commit
7d61eea604
|
@ -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);
|
||||
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue