This is an automated email from the ASF dual-hosted git repository. ovilia pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/echarts-handbook.git
The following commit(s) were added to refs/heads/master by this push: new 11d408c fix(bar-race): realtimeSort was moved to series in d155de1 11d408c is described below commit 11d408c3ca8a3e2a0585aba40ab23c3bae0f9bdb Author: Ovilia <zwl.s...@gmail.com> AuthorDate: Wed Mar 30 15:17:40 2022 +0800 fix(bar-race): realtimeSort was moved to series in d155de1 --- contents/en/how-to/chart-types/bar/bar-race.md | 2 +- contents/zh/how-to/chart-types/bar/bar-race.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/contents/en/how-to/chart-types/bar/bar-race.md b/contents/en/how-to/chart-types/bar/bar-race.md index d09299d..de2b226 100755 --- a/contents/en/how-to/chart-types/bar/bar-race.md +++ b/contents/en/how-to/chart-types/bar/bar-race.md @@ -6,7 +6,7 @@ Bar race is a chart that shows changes in the ranking of data over time and it i > Bar race charts usually use horizontal bars. If you want to use vertical > bars, just take the X axis and Y axis in this tutorial to the opposite. -1. Set `yAxis.realtimeSort` to be `true` to enable bar race +1. Set `realtimeSort` of the bar series to be `true` to enable bar race 2. Set `yAxis.inverse` to be `true` to display longer bars at top 3. `yAxis.animationDuration` is suggested to be set to be `300` for bar reordering animation for the first time 4. `yAxis.animationDurationUpdate` is suggested to be set to be `300` for bar reordering animation for later times diff --git a/contents/zh/how-to/chart-types/bar/bar-race.md b/contents/zh/how-to/chart-types/bar/bar-race.md index a498774..1426ec5 100644 --- a/contents/zh/how-to/chart-types/bar/bar-race.md +++ b/contents/zh/how-to/chart-types/bar/bar-race.md @@ -6,7 +6,7 @@ > 动态排序柱状图通常是横向的柱条,如果想要采用纵向的柱条,只要把本教程中的 X 轴和 Y 轴相反设置即可。 -1. `yAxis.realtimeSort` 设为 `true`,表示开启 Y 轴的动态排序效果 +1. 柱状图系列的 `realtimeSort` 设为 `true`,表示开启该系列的动态排序效果 2. `yAxis.inverse` 设为 `true`,表示 Y 轴从下往上是从小到大的排列 3. `yAxis.animationDuration` 建议设为 `300`,表示第一次柱条排序动画的时长 4. `yAxis.animationDurationUpdate` 建议设为 `300`,表示第一次后柱条排序动画的时长 --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org