![](/img/trans.png)
[英]Add several links between two nodes in amcharts force directed network
[英]amCharts - Tooltip on links between nodes
是否可以為力導向樹上的節點之間的鏈接創建工具提示? 與翻轉節點相同。 使用此示例: https : //www.amcharts.com/demos/force-directed-tree/
是的,你可以使用這個
// You define the ForceDirectedSeries
const networkSeries = chart.series.push(
new am4plugins_forceDirected.ForceDirectedSeries()
);
networkSeries.data = nodes;
const linkTemplate = networkSeries.links.template;
linkTemplate.interactionsEnabled = true; // this is so important
linkTemplate.tooltipText = 'tooltip text';
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.