superset-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From maximebeauche...@apache.org
Subject [incubator-superset] branch master updated: fix cal_heatmap tips location error (#5480) (#5587)
Date Mon, 13 Aug 2018 03:44:57 GMT
This is an automated email from the ASF dual-hosted git repository.

maximebeauchemin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git


The following commit(s) were added to refs/heads/master by this push:
     new 7d61eea  fix cal_heatmap tips location error (#5480) (#5587)
7d61eea is described below

commit 7d61eea6040fa195de7278551e631018e6bfd2f6
Author: Narcissus7 <18813104077@163.com>
AuthorDate: Mon Aug 13 11:44:54 2018 +0800

    fix cal_heatmap tips location error (#5480) (#5587)
    
    * fix cal_heatmap tips location error
    
    * fix graph-legend
---
 superset/assets/vendor/cal-heatmap/cal-heatmap.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/superset/assets/vendor/cal-heatmap/cal-heatmap.js b/superset/assets/vendor/cal-heatmap/cal-heatmap.js
index 0b00756..0881c9a 100644
--- a/superset/assets/vendor/cal-heatmap/cal-heatmap.js
+++ b/superset/assets/vendor/cal-heatmap/cal-heatmap.js
@@ -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();


Mime
View raw message