superset icon indicating copy to clipboard operation
superset copied to clipboard

Sankey diagram redraws on resize

Open andrewhn opened this issue 10 years ago • 2 comments

OS: Ubuntu 14.04.4 LTS Server Extra system info: Exhibited in FF and chrome To reproduce: Select "Sankey" chart with appropriate data, render chart, resize window, see two sankey diagrams

Having trouble setting up a dev environment so I can't test but it seems like the sankey render function should clear the element before drawing, as the other d3 charts do (e.g. here).

andrewhn avatar Apr 04 '16 10:04 andrewhn

you're totally right, thanks for the issue, will fix.

for dev setup running npm install && npm run dev from the assets folder should work if you have node + npm installed?

williaster avatar Apr 04 '16 16:04 williaster

Fixed with e3e8202

andrewhn avatar Apr 05 '16 00:04 andrewhn