This is an automated email from the ASF dual-hosted git repository. shenyi pushed a commit to branch test-autorun in repository https://gitbox.apache.org/repos/asf/incubator-echarts.git
The following commit(s) were added to refs/heads/test-autorun by this push: new 7258aab test: not resize the streaming chart when window resized. 7258aab is described below commit 7258aabce8311832ec07260eb0f5616addd11030 Author: pissang <bm2736...@gmail.com> AuthorDate: Mon Sep 9 11:34:43 2019 +0800 test: not resize the streaming chart when window resized. --- test/bar-stream-large.html | 1 + test/lib/testHelper.js | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/test/bar-stream-large.html b/test/bar-stream-large.html index eb7d99d..f3dc3eb 100644 --- a/test/bar-stream-large.html +++ b/test/bar-stream-large.html @@ -86,6 +86,7 @@ under the License. '(4) Check snapshot rendering when "finished"' ], option: option, + notResizable: true, info: { xAxis: option.xAxis, series: {progressiveChunkMode: 'sequential'} diff --git a/test/lib/testHelper.js b/test/lib/testHelper.js index ebd2d00..252fb0f 100644 --- a/test/lib/testHelper.js +++ b/test/lib/testHelper.js @@ -239,7 +239,9 @@ lazyUpdate: opt.lazyUpdate, notMerge: opt.notMerge }); - testHelper.resizable(chart); + if (!opt.notResizable) { + testHelper.resizable(chart); + } return chart; } --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org