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.

fig1 before adding axis:before adding axis

fig2 new axis "shipping"with new axis

fig3 error when dragging axis on shippingshipping interaction    error

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

Popular posts from this blog

c++ - llvm function pass ReplaceInstWithInst malloc -

Cross-Compiling Linux Kernel for Raspberry Pi - ${CCPREFIX}gcc -v does not work -

java.lang.NoClassDefFoundError When Creating New Android Project -