implementing an onclick event on the nodes of a spacetree with Javascript Infovis Toolkit -
i'm using infovis library plot spacetree.
unfortunately there problem when implementing event on nodes nodes false.
there thread on associated google group: https://groups.google.com/forum/?fromgroups#!topic/javascript-information-visualization-toolkit/njtbe9hq5bq
the solution given fix 'contains' in nodetypes: https://github.com/philogb/jit/blob/master/source/visualizations/spacetree.js#l1370
i copy-pasted new nodetypes implementations, unfortunately it's still not working (nodes still false).
any idea?
edit: it's possible close creating label on plot of nodes.
this known bug stated in question, 2 solutions:
- correcting library shown on line 1370 of spacetree.js
- using work-around
i managed implement desired functionality creating label using onplot option each node.
Comments
Post a Comment