You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by gr...@apache.org on 2018/06/14 17:12:35 UTC

[incubator-superset] branch master updated: fix Formula type annotation, it doesn't show up since #4630 (#5181)

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 <gr...@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.