页面树结构
转至元数据结尾
转至元数据起始

正在查看旧版本。 查看 当前版本.

与当前比较 查看页面历史

版本 1 下一个 »

(本文档仅供参考)

问题

关系图,圈上面的鼠标提示不显示,只显示线上的鼠标提示

 

解决方案

可使用如下扩展属性代码实现:

注:线上的params.value获取的是links里面的value,若想线上有值显示,需要设置links的value
{
    "tooltip": {
        "trigger": "item",
        "formatter": "function(params){if(params.dataType=='edge'){return params.name + ' : ' + params.value ;} else {return '';}}"
    }
}

Viewtracker License Missing

There is a problem with the license of the Viewtracker addon. Please check if you have a valid license.

授权码细节

  • 无标签