superset-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From grace...@apache.org
Subject [incubator-superset] branch master updated: fix Formula type annotation, it doesn't show up since #4630 (#5181)
Date Thu, 14 Jun 2018 17:12:35 GMT
This is an automated email from the ASF dual-hosted git repository.

graceguo 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 585dbe6  fix Formula type annotation, it doesn't show up since #4630 (#5181)
585dbe6 is described below

commit 585dbe663841052a07561c2c67509d104a854211
Author: Grace Guo <grace.guo@airbnb.com>
AuthorDate: Thu Jun 14 10:12:29 2018 -0700

    fix Formula type annotation, it doesn't show up since #4630 (#5181)
---
 superset/assets/src/visualizations/nvd3_vis.js | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/superset/assets/src/visualizations/nvd3_vis.js b/superset/assets/src/visualizations/nvd3_vis.js
index f508baf..e94e740 100644
--- a/superset/assets/src/visualizations/nvd3_vis.js
+++ b/superset/assets/src/visualizations/nvd3_vis.js
@@ -833,6 +833,12 @@ export default function nvd3Vis(slice, payload) {
             });
           });
         }
+
+        // rerender chart appended with annotation layer
+        svg.datum(data)
+          .attr('height', height)
+          .attr('width', width)
+          .call(chart);
       }
     }
     return chart;

-- 
To stop receiving notification emails like this one, please contact
graceguo@apache.org.

Mime
View raw message