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/08/05 15:10:25 UTC
[incubator-echarts] 01/01: fix(graph): fix null pointer error in
graph simple layout
This is an automated email from the ASF dual-hosted git repository.
shenyi pushed a commit to branch fix-graph-simple-layout-error
in repository https://gitbox.apache.org/repos/asf/incubator-echarts.git
commit 089a3620979d2e42273db930f81c2eb215140519
Author: pissang <bm...@gmail.com>
AuthorDate: Wed Aug 5 23:09:02 2020 +0800
fix(graph): fix null pointer error in graph simple layout
---
src/chart/graph/simpleLayout.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/chart/graph/simpleLayout.js b/src/chart/graph/simpleLayout.js
index 1cc70bd..f9439f2 100644
--- a/src/chart/graph/simpleLayout.js
+++ b/src/chart/graph/simpleLayout.js
@@ -51,7 +51,7 @@ export default function (ecModel, api) {
}
}
- simpleLayoutEdge(data.graph);
+ simpleLayoutEdge(data.graph, seriesModel);
}
else if (!layout || layout === 'none') {
simpleLayout(seriesModel);
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org