提交 d74fa6c6 编写于 作者: P pissang

fix(line): tweak the magic number

上级 e9a7b955
......@@ -681,8 +681,8 @@ export default ChartView.extend({
// Don't apply animation if diff is large.
// For better result and avoid memory explosion problems like
// https://github.com/apache/incubator-echarts/issues/12229
if (getBoundingDiff(current, next) > 5000
|| (polygon && getBoundingDiff(stackedOnCurrent, stackedOnNext) > 5000)
if (getBoundingDiff(current, next) > 3000
|| (polygon && getBoundingDiff(stackedOnCurrent, stackedOnNext) > 3000)
) {
polyline.setShape({
points: next
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册