drag and drop - Adding new axis to Parallel Coordinates visualization in d3.js -
i have hosted parallel coordinates code here: http://bl.ocks.org/aditeyapandey/d416c90c99e19f7c9209
upon clicking paragraph element can add new axis visualization. however, new axis not interacting other axes.so if drag newly added "shipping" axis on other axes not throw problem. but, if drop other axes "shipping" interaction not work. attaching screenshots reference.
fig3 error when dragging axis on shipping
ps. sorry bad code, work in progress , gist has blocked me, considers me robot. so, not able modify it. lot.
i found solution. apparently drag behaviour still being called earlier code. therefore have override previous drag behaviour , add new 1 data fields , axes.
updated code reference : http://bl.ocks.org/aditeyapandey/d416c90c99e19f7c9209
Comments
Post a Comment