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 211c0553cc1b1f09e028c2c551f171a1b6c93bb0 Author: Ry <630362...@qq.com> AuthorDate: Fri Oct 7 22:34:57 2022 +0800 Update data-zoom.md --- zh/option/component/data-zoom.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zh/option/component/data-zoom.md b/zh/option/component/data-zoom.md index 578b41d9..cd8e259c 100644 --- a/zh/option/component/data-zoom.md +++ b/zh/option/component/data-zoom.md @@ -332,9 +332,9 @@ option: { + 当『X 轴 Y 轴分别受 `dataZoom` 组件控制』时: - + 如果 X 轴和 Y 轴是『同等地位的、不应互相影响的』,比如在『双数值轴散点图』中,那么两个轴可都设为 `fiterMode: 'empty'`。 + + 如果 X 轴和 Y 轴是『同等地位的、不应互相影响的』,比如在『双数值轴散点图』中,那么两个轴可都设为 `filterMode: 'empty'`。 - + 如果 X 轴为主,Y 轴为辅,比如在『柱状图』中,需要『拖动 `dataZoomX` 改变 X 轴过滤柱子时,Y 轴的范围也自适应剩余柱子的高度』,『拖动 `dataZoomY` 改变 Y 轴过滤柱子时,X 轴范围不受影响』,那么就 X轴设为 `fiterMode: 'filter'`,Y 轴设为 `fiterMode: 'empty'`,即主轴 `'filter'`,辅轴 `'empty'`。 + + 如果 X 轴为主,Y 轴为辅,比如在『柱状图』中,需要『拖动 `dataZoomX` 改变 X 轴过滤柱子时,Y 轴的范围也自适应剩余柱子的高度』,『拖动 `dataZoomY` 改变 Y 轴过滤柱子时,X 轴范围不受影响』,那么就 X轴设为 `filterMode: 'filter'`,Y 轴设为 `filterMode: 'empty'`,即主轴 `'filter'`,辅轴 `'empty'`。 下面是个具体例子: --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org