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 <sushuang0...@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-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org