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:19 UTC

[incubator-echarts] branch fix/graph-line-label created (now 09e14f6)

This is an automated email from the ASF dual-hosted git repository.

sushuang pushed a change to branch fix/graph-line-label
in repository https://gitbox.apache.org/repos/asf/incubator-echarts.git.


      at 09e14f6  fix: keep the original effect: graph line label has distance to its line.

This branch includes the following new commits:

     new 09e14f6  fix: keep the original effect: graph line label has distance to its line.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[incubator-echarts] 01/01: fix: keep the original effect: graph line label has distance to its line.

Posted by su...@apache.org.
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