You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by sh...@apache.org on 2020/07/07 04:17:28 UTC
[incubator-echarts] branch master updated: Update TreeView.js
This is an automated email from the ASF dual-hosted git repository.
shenyi pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-echarts.git
The following commit(s) were added to refs/heads/master by this push:
new 45e74ea Update TreeView.js
new 491d30b Merge pull request #12915 from liunana1230/patch-1
45e74ea is described below
commit 45e74ea232d231dae8e6ef09ec87349317b8c96e
Author: liunana1230 <18...@163.com>
AuthorDate: Mon Jul 6 14:06:34 2020 +0800
Update TreeView.js
update line color when update charts
---
src/chart/tree/TreeView.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/chart/tree/TreeView.js b/src/chart/tree/TreeView.js
index 9dbf2af..eac4580 100644
--- a/src/chart/tree/TreeView.js
+++ b/src/chart/tree/TreeView.js
@@ -469,7 +469,7 @@ function drawEdge(
graphic.updateProps(edge, {
shape: getEdgeShape(seriesScope, sourceLayout, targetLayout),
- style: {opacity: 1}
+ style: zrUtil.defaults({opacity: 1}, seriesScope.lineStyle)
}, seriesModel);
}
}
@@ -499,7 +499,7 @@ function drawEdge(
parentPoint: [targetLayout.x, targetLayout.y],
childPoints: childPoints
},
- style: {opacity: 1}
+ style: zrUtil.defaults({opacity: 1}, seriesScope.lineStyle)
}, seriesModel);
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org