diff --git a/src/chart/graph/GraphView.ts b/src/chart/graph/GraphView.ts index f4559521fb..bb67d56d9f 100644 --- a/src/chart/graph/GraphView.ts +++ b/src/chart/graph/GraphView.ts @@ -278,7 +278,6 @@ class GraphView extends ChartView { }); this._updateNodeAndLinkScale(); adjustEdge(seriesModel.getGraph(), getNodeGlobalScale(seriesModel)); - this._lineDraw.updateLayout(); // Only update label layout on zoom api.updateLabelLayout(); }); diff --git a/test/graph-force-zoom.html b/test/graph-force-zoom.html new file mode 100644 index 0000000000..661d83fb59 --- /dev/null +++ b/test/graph-force-zoom.html @@ -0,0 +1,92 @@ + + + + + + +
+ + + + + + + + + + + + + + + + +