Skip to content

Commit

Permalink
Merge pull request #12194 from apache/fix/graph-line-label
Browse files Browse the repository at this point in the history
Fix/graph line label: keep the original distance between line label and line.
  • Loading branch information
pissang authored Feb 26, 2020
2 parents a6489e5 + 09e14f6 commit ca4c391
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/chart/graph/GraphSeries.js
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,8 @@ var GraphSeries = echarts.extendSeriesModel({
edgeSymbol: ['none', 'none'],
edgeSymbolSize: 10,
edgeLabel: {
position: 'middle'
position: 'middle',
distance: 5
},

draggable: false,
Expand Down

0 comments on commit ca4c391

Please sign in to comment.