javascript - zoomcharts - 1.5.1 hover over multiple links doesn't work -
i see zoomcharts has come cool features in latest update (1.5.1), has bugs believe...
i not able hover on middle links in case of multiple links between 2 nodes. can hover on 1st , last link
if copy paste following code here, can test yourself...
<script> var data = { "nodes":[ {"id":"n1", "loaded":true, "style":{"label":"node1"}}, {"id":"n2", "loaded":true, "style":{"label":"node2"}} ], "links":[ {"id":"l1","from":"n1", "to":"n2", "style":{"fillcolor":"red", "todecoration":"arrow"}}, {"id":"l11","from":"n1", "to":"n2", "style":{"fillcolor":"red", "todecoration":"arrow"}}, {"id":"l111","from":"n1", "to":"n2", "style":{"fillcolor":"red", "todecoration":"arrow"}}, {"id":"l114","from":"n1", "to":"n2", "style":{"fillcolor":"red", "todecoration":"arrow"}} ] }; var t = new netchart({ container: document.getelementbyid("demo"), area: { height: 350 }, data: { preloaded: data }, info: {enabled: true, linkcontentsfunction: function(data, link, callback) { return link.id; }} }); </script>
this issue has been solved in version 1.8.
until released can use nightly build from: https://cdn.zoomcharts-cloud.com/1/nightly/zoomcharts.js
Comments
Post a Comment