[英]zoomcharts - 1.5.1 hover over multiple links doesn't work
I see that zoomcharts has come up with cool features in their latest update (1.5.1), but it has some bugs i believe... 我看到zoomcharts在其最新更新(1.5.1)中提供了很酷的功能,但是我相信它存在一些错误...
I am not able to hover over middle links in case of multiple links between two nodes. 如果两个节点之间存在多个链接,则无法将鼠标悬停在中间链接上。 I can only hover over 1st and last link
我只能将鼠标悬停在第一个和最后一个链接上
If you just copy paste the following code here , you can test it 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. 此问题已在1.8版中解决。
Until it is released you can also use the nightly build from: https://cdn.zoomcharts-cloud.com/1/nightly/zoomcharts.js 在发布之前,您还可以使用以下每晚版本: https : //cdn.zoomcharts-cloud.com/1/nightly/zoomcharts.js
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.