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-doc.git
commit 205d3a0fb8d886aa50a5c9fe8fb3a5f598608261 Author: Ry <630362...@qq.com> AuthorDate: Fri Oct 7 22:35:39 2022 +0800 Update data-zoom.md --- en/option/component/data-zoom.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/option/component/data-zoom.md b/en/option/component/data-zoom.md index df096de8..5e64f276 100644 --- a/en/option/component/data-zoom.md +++ b/en/option/component/data-zoom.md @@ -348,7 +348,7 @@ How to set `filterMode` is up to users, depending on the requirments and scenari + If `xAxis` and `yAxis` should not effect mutually (e.g. a scatter chart with both axes on the type of `'value'`), they should be set to be `filterMode: 'empty'`. - + If `xAxis` is the main axis and `yAxis` is the auxiliary axis (or vise versa) (e.g., in a bar chart, when dragging `dataZoomX` to change the window of xAxis, we need the yAxis to adapt to the clipped data, but when dragging `dataZoomY` to change the window of yAxis, we need the xAxis not to be changed), in this case, `xAxis` should be set to be `fiterMode: 'filter'`, while `yAxis` should be set to be `fiterMode: 'empty'`. + + If `xAxis` is the main axis and `yAxis` is the auxiliary axis (or vise versa) (e.g., in a bar chart, when dragging `dataZoomX` to change the window of xAxis, we need the yAxis to adapt to the clipped data, but when dragging `dataZoomY` to change the window of yAxis, we need the xAxis not to be changed), in this case, `xAxis` should be set to be `filterMode: 'filter'`, while `yAxis` should be set to be `filterMode: 'empty'`. It can be demonstrated by the sample: --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org