You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by su...@apache.org on 2020/02/25 18:35:20 UTC
[incubator-echarts] 01/01: fix: keep the original effect: graph
line label has distance to its line.
This is an automated email from the ASF dual-hosted git repository.
sushuang pushed a commit to branch fix/graph-line-label
in repository https://gitbox.apache.org/repos/asf/incubator-echarts.git
commit 09e14f674ea382eb6be45dba1168077111b6b2c7
Author: 100pah <su...@gmail.com>
AuthorDate: Wed Feb 26 02:33:38 2020 +0800
fix: keep the original effect: graph line label has distance to its line.
---
src/chart/graph/GraphSeries.js | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/chart/graph/GraphSeries.js b/src/chart/graph/GraphSeries.js
index 47d9fd9..1368212 100644
--- a/src/chart/graph/GraphSeries.js
+++ b/src/chart/graph/GraphSeries.js
@@ -242,7 +242,8 @@ var GraphSeries = echarts.extendSeriesModel({
edgeSymbol: ['none', 'none'],
edgeSymbolSize: 10,
edgeLabel: {
- position: 'middle'
+ position: 'middle',
+ distance: 5
},
draggable: false,
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org