only call drawGraph once (#2132)

This commit is contained in:
Alanna Scott
2017-02-09 09:39:08 -08:00
committed by GitHub
parent 1edc2b91cf
commit 80cfb08794

View File

@@ -418,8 +418,7 @@ function nvd3Vis(slice, payload) {
// this will clear them before rendering the chart again.
hideTooltips();
const graph = drawGraph();
nv.addGraph(graph);
nv.addGraph(drawGraph);
}
module.exports = nvd3Vis;