提交 461cda95 编写于 作者: L lang

force link宽度不能设置width bug fix

上级 59758db5
......@@ -142,7 +142,11 @@ option = {
{category:2, name: '龙-韦恩',value : 1},
],
links : [
{source : '丽萨-乔布斯', target : '乔布斯', weight : 1, name: '女儿'},
{source : '丽萨-乔布斯', target : '乔布斯', weight : 1, name: '女儿', itemStyle: {
normal: {
width: 5
}
}},
{source : '保罗-乔布斯', target : '乔布斯', weight : 2, name: '父亲'},
{source : '克拉拉-乔布斯', target : '乔布斯', weight : 1, name: '母亲'},
{source : '劳伦-鲍威尔', target : '乔布斯', weight : 2},
......
......@@ -502,7 +502,7 @@ define(function (require) {
var source = gEdge.node1;
var target = gEdge.node2;
var queryTarget = this._getEdgeQueryTarget(serie, gEdge);
var queryTarget = this._getEdgeQueryTarget(serie, link);
var linkType = this.deepQuery(queryTarget, 'type');
// TODO 暂时只有线段支持箭头
if (serie.linkSymbol && serie.linkSymbol !== 'none') {
......@@ -515,8 +515,7 @@ define(function (require) {
xStart : 0,
yStart : 0,
xEnd : 0,
yEnd : 0,
lineWidth : 1
yEnd : 0
},
clickable: this.query(serie, 'clickable'),
highlightStyle : {},
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册