This is an automated email from the ASF dual-hosted git repository. sushuang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/echarts-doc.git
The following commit(s) were added to refs/heads/master by this push: new 6d80fd24 feature: add roundTrip (go back) to the lines animation effect. 6d80fd24 is described below commit 6d80fd246245a99f9767e2d3a28e8b69b0fe1160 Author: 100pah <sushuang0...@gmail.com> AuthorDate: Sun Sep 25 21:35:26 2022 +0800 feature: add roundTrip (go back) to the lines animation effect. --- en/option/series/lines.md | 4 ++++ zh/option/series/lines.md | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/en/option/series/lines.md b/en/option/series/lines.md index d4bf90ca..2c3ceb3d 100644 --- a/en/option/series/lines.md +++ b/en/option/series/lines.md @@ -84,6 +84,10 @@ The length of trail of special effect. The values from 0 to 1 could be set. Tra Whether to loop the special effect animation. +### roundTrip(boolean) = false + +Whether to go back when the animation reach the end. + ## large(boolean) = true Whether to enable the optimization of large-scale lines graph. It could be enabled when there is a particularly large number of data(>=5k) . diff --git a/zh/option/series/lines.md b/zh/option/series/lines.md index 39f45531..4af5c8a2 100644 --- a/zh/option/series/lines.md +++ b/zh/option/series/lines.md @@ -83,6 +83,10 @@ ECharts 2.x 里会用地图上的 `markLine` 去绘制迁徙效果,在 ECharts 是否循环显示特效。 +### roundTrip(boolean) = false + +当动画到达终点时,是否原路返回。 + ## large(boolean) = false 是否启用大规模路径图的优化,在数据图形特别多的时候(>=5k)可以开启。 --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org