mirror of
https://github.com/apache/superset.git
synced 2024-09-12 08:39:45 -04:00
* 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) {
|
if (options.tooltip) {
|
||||||
selection
|
selection
|
||||||
.on("mouseover", function(d) {
|
.on("mouseover", function(d) {
|
||||||
self.tip.show(d);
|
self.tip.show(d, this);
|
||||||
})
|
})
|
||||||
.on("mouseout", function() {
|
.on("mouseout", function() {
|
||||||
self.tip.hide(d);
|
self.tip.hide(d);
|
||||||
@ -3285,7 +3285,7 @@ Legend.prototype.redraw = function(width) {
|
|||||||
});
|
});
|
||||||
legendItem
|
legendItem
|
||||||
.on("mouseover", function(d) {
|
.on("mouseover", function(d) {
|
||||||
calendar.legendTip.show(d);
|
calendar.legendTip.show(d, this);
|
||||||
})
|
})
|
||||||
.on("mouseout", function() {
|
.on("mouseout", function() {
|
||||||
calendar.legendTip.hide();
|
calendar.legendTip.hide();
|
||||||
|
Loading…
Reference in New Issue
Block a user