From 30eee9463a1d5320455898b011a9156883df8ce4 Mon Sep 17 00:00:00 2001 From: quao Date: Thu, 16 Oct 2025 22:47:57 +0800 Subject: [PATCH 1/3] =?UTF-8?q?feat=20x,y=E8=BD=B4=E6=B7=BB=E5=8A=A0includ?= =?UTF-8?q?eMarkerInExtent=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- en/option/component/x-axis.md | 10 ++++++++++ en/option/component/y-axis.md | 10 ++++++++++ zh/option/component/x-axis.md | 10 ++++++++++ zh/option/component/y-axis.md | 10 ++++++++++ 4 files changed, 40 insertions(+) diff --git a/en/option/component/x-axis.md b/en/option/component/x-axis.md index ec958710..97596410 100644 --- a/en/option/component/x-axis.md +++ b/en/option/component/x-axis.md @@ -47,6 +47,16 @@ Notice: Set `xAxis.axisLine.onZero` to `false` to activate this option. Offset of x axis relative to default position. Useful when multiple x axis has same [position](~xAxis.position) value. Notice: Set `xAxis.axisLine.onZero` to `false` to activate this option. +## includeMarkerInExtent(boolean) = true + + + +{{ use: partial-version(version = "6.0.1") }} + +Whether to include markers (markPoint, markLine, markArea) in the default axis extent calculation. + +By default or when set to `true`, the axis extent calculation will consider the positions of markers, ensuring that markers are visible within the axis range. When set to `false`, marker values are not considered when calculating the default axis range. + {{ use: axis-common( prefix = '#', componentType = 'xAxis', diff --git a/en/option/component/y-axis.md b/en/option/component/y-axis.md index 11e6a5e8..1e8c268a 100644 --- a/en/option/component/y-axis.md +++ b/en/option/component/y-axis.md @@ -47,6 +47,16 @@ Notice: Set `yAxis.axisLine.onZero` to `false` to activate this option. Offset of y axis relative to default position. Useful when multiple y axis has same [position](~yAxis.position) value. Notice: Set `yAxis.axisLine.onZero` to `false` to activate this option. +## includeMarkerInExtent(boolean) = true + + + +{{ use: partial-version(version = "6.0.1") }} + +Whether to include markers (markPoint, markLine, markArea) in the default axis extent calculation. + +By default or when set to `true`, the axis extent calculation will consider the positions of markers, ensuring that markers are visible within the axis range. When set to `false`, marker values are not considered when calculating the default axis range. + {{ use: axis-common( prefix = '#', componentType = 'yAxis', diff --git a/zh/option/component/x-axis.md b/zh/option/component/x-axis.md index 26aa8125..ead12b45 100644 --- a/zh/option/component/x-axis.md +++ b/zh/option/component/x-axis.md @@ -82,6 +82,16 @@ x 轴的位置。 X 轴相对于默认位置的偏移,在相同的 `position` 上有多个 X 轴的时候有用。注:若未将 `xAxis.axisLine.onZero` 设为 `false` , 则该项无法生效。 +## includeMarkerInExtent(boolean) = true + + + +{{ use: partial-version(version = "6.0.1") }} + +是否在坐标轴默认范围计算时包含标记(markPoint、markLine、markArea)。 + +默认条件下或设置为 `true` 时坐标轴的范围计算会考虑标记的位置,确保标记在坐标轴范围内可见。当设置 `false`时,计算默认轴范围时则不考虑标记的数值。 + {{ use: axis-common( prefix = '#', componentType = 'xAxis', diff --git a/zh/option/component/y-axis.md b/zh/option/component/y-axis.md index 54e533dd..291ee24c 100644 --- a/zh/option/component/y-axis.md +++ b/zh/option/component/y-axis.md @@ -128,6 +128,16 @@ Y 轴相对于默认位置的偏移,在相同的 `position` 上有多个 Y 轴 需要配合其他配置项共同实现动态排序柱状图效果,具体参见[动态排序柱状图](${handbookPath}how-to/chart-types/bar/bar-race)教程。 +## includeMarkerInExtent(boolean) = true + + + +{{ use: partial-version(version = "6.0.1") }} + +是否在坐标轴默认范围计算时包含标记(markPoint、markLine、markArea)。 + +默认条件下或设置为 `true` 时坐标轴的范围计算会考虑标记的位置,确保标记在坐标轴范围内可见。当设置 `false`时,计算默认轴范围时则不考虑标记的数值。 + {{ use: axis-common( prefix = '#', componentType = 'yAxis', From f2676af0b21e5451b68893428b96d098bd13781d Mon Sep 17 00:00:00 2001 From: quao Date: Tue, 18 Nov 2025 10:05:11 +0800 Subject: [PATCH 2/3] =?UTF-8?q?fix=20=E6=9B=B4=E6=94=B9=E9=BB=98=E8=AE=A4?= =?UTF-8?q?=E5=8F=96=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- en/option/component/x-axis.md | 4 ++-- en/option/component/y-axis.md | 4 ++-- zh/option/component/x-axis.md | 4 ++-- zh/option/component/y-axis.md | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/en/option/component/x-axis.md b/en/option/component/x-axis.md index 97596410..09f325ef 100644 --- a/en/option/component/x-axis.md +++ b/en/option/component/x-axis.md @@ -47,7 +47,7 @@ Notice: Set `xAxis.axisLine.onZero` to `false` to activate this option. Offset of x axis relative to default position. Useful when multiple x axis has same [position](~xAxis.position) value. Notice: Set `xAxis.axisLine.onZero` to `false` to activate this option. -## includeMarkerInExtent(boolean) = true +## includeMarkerInExtent(boolean) = false @@ -55,7 +55,7 @@ Notice: Set `xAxis.axisLine.onZero` to `false` to activate this option. Whether to include markers (markPoint, markLine, markArea) in the default axis extent calculation. -By default or when set to `true`, the axis extent calculation will consider the positions of markers, ensuring that markers are visible within the axis range. When set to `false`, marker values are not considered when calculating the default axis range. +When set to `true`, the axis extent calculation will consider the positions of markers, ensuring that markers are visible within the axis range. By default or when set to `false`, marker values are not considered when calculating the default axis range. {{ use: axis-common( prefix = '#', diff --git a/en/option/component/y-axis.md b/en/option/component/y-axis.md index 1e8c268a..cd0dcfd5 100644 --- a/en/option/component/y-axis.md +++ b/en/option/component/y-axis.md @@ -47,7 +47,7 @@ Notice: Set `yAxis.axisLine.onZero` to `false` to activate this option. Offset of y axis relative to default position. Useful when multiple y axis has same [position](~yAxis.position) value. Notice: Set `yAxis.axisLine.onZero` to `false` to activate this option. -## includeMarkerInExtent(boolean) = true +## includeMarkerInExtent(boolean) = false @@ -55,7 +55,7 @@ Notice: Set `yAxis.axisLine.onZero` to `false` to activate this option. Whether to include markers (markPoint, markLine, markArea) in the default axis extent calculation. -By default or when set to `true`, the axis extent calculation will consider the positions of markers, ensuring that markers are visible within the axis range. When set to `false`, marker values are not considered when calculating the default axis range. +When set to `true`, the axis extent calculation will consider the positions of markers, ensuring that markers are visible within the axis range. By default or when set to `false`, marker values are not considered when calculating the default axis range. {{ use: axis-common( prefix = '#', diff --git a/zh/option/component/x-axis.md b/zh/option/component/x-axis.md index ead12b45..cec91608 100644 --- a/zh/option/component/x-axis.md +++ b/zh/option/component/x-axis.md @@ -82,7 +82,7 @@ x 轴的位置。 X 轴相对于默认位置的偏移,在相同的 `position` 上有多个 X 轴的时候有用。注:若未将 `xAxis.axisLine.onZero` 设为 `false` , 则该项无法生效。 -## includeMarkerInExtent(boolean) = true +## includeMarkerInExtent(boolean) = false @@ -90,7 +90,7 @@ X 轴相对于默认位置的偏移,在相同的 `position` 上有多个 X 轴 是否在坐标轴默认范围计算时包含标记(markPoint、markLine、markArea)。 -默认条件下或设置为 `true` 时坐标轴的范围计算会考虑标记的位置,确保标记在坐标轴范围内可见。当设置 `false`时,计算默认轴范围时则不考虑标记的数值。 +设置为 `true` 时坐标轴的范围计算会考虑标记的位置,确保标记在坐标轴范围内可见。默认条件下或当设置 `false`时,计算默认轴范围时则不考虑标记的数值。 {{ use: axis-common( prefix = '#', diff --git a/zh/option/component/y-axis.md b/zh/option/component/y-axis.md index 291ee24c..d890de4e 100644 --- a/zh/option/component/y-axis.md +++ b/zh/option/component/y-axis.md @@ -128,7 +128,7 @@ Y 轴相对于默认位置的偏移,在相同的 `position` 上有多个 Y 轴 需要配合其他配置项共同实现动态排序柱状图效果,具体参见[动态排序柱状图](${handbookPath}how-to/chart-types/bar/bar-race)教程。 -## includeMarkerInExtent(boolean) = true +## includeMarkerInExtent(boolean) = false @@ -136,7 +136,7 @@ Y 轴相对于默认位置的偏移,在相同的 `position` 上有多个 Y 轴 是否在坐标轴默认范围计算时包含标记(markPoint、markLine、markArea)。 -默认条件下或设置为 `true` 时坐标轴的范围计算会考虑标记的位置,确保标记在坐标轴范围内可见。当设置 `false`时,计算默认轴范围时则不考虑标记的数值。 +设置为 `true` 时坐标轴的范围计算会考虑标记的位置,确保标记在坐标轴范围内可见。默认条件下或当设置 `false`时,计算默认轴范围时则不考虑标记的数值。 {{ use: axis-common( prefix = '#', From 9e55b2e3a03b966dc4448f455337a90f159f4987 Mon Sep 17 00:00:00 2001 From: quao Date: Tue, 25 Nov 2025 17:26:42 +0800 Subject: [PATCH 3/3] =?UTF-8?q?enha=20=E5=AE=8C=E5=96=84=E6=96=87=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- en/option/component/x-axis.md | 2 ++ en/option/component/y-axis.md | 1 + zh/option/component/x-axis.md | 1 + zh/option/component/y-axis.md | 1 + 4 files changed, 5 insertions(+) diff --git a/en/option/component/x-axis.md b/en/option/component/x-axis.md index 09f325ef..8fe77733 100644 --- a/en/option/component/x-axis.md +++ b/en/option/component/x-axis.md @@ -56,6 +56,8 @@ Notice: Set `xAxis.axisLine.onZero` to `false` to activate this option. Whether to include markers (markPoint, markLine, markArea) in the default axis extent calculation. When set to `true`, the axis extent calculation will consider the positions of markers, ensuring that markers are visible within the axis range. By default or when set to `false`, marker values are not considered when calculating the default axis range. +This setting only takes effect for non-category axes. + {{ use: axis-common( prefix = '#', diff --git a/en/option/component/y-axis.md b/en/option/component/y-axis.md index cd0dcfd5..6565fa00 100644 --- a/en/option/component/y-axis.md +++ b/en/option/component/y-axis.md @@ -56,6 +56,7 @@ Notice: Set `yAxis.axisLine.onZero` to `false` to activate this option. Whether to include markers (markPoint, markLine, markArea) in the default axis extent calculation. When set to `true`, the axis extent calculation will consider the positions of markers, ensuring that markers are visible within the axis range. By default or when set to `false`, marker values are not considered when calculating the default axis range. +This setting only takes effect for non-category axes. {{ use: axis-common( prefix = '#', diff --git a/zh/option/component/x-axis.md b/zh/option/component/x-axis.md index cec91608..d897de08 100644 --- a/zh/option/component/x-axis.md +++ b/zh/option/component/x-axis.md @@ -91,6 +91,7 @@ X 轴相对于默认位置的偏移,在相同的 `position` 上有多个 X 轴 是否在坐标轴默认范围计算时包含标记(markPoint、markLine、markArea)。 设置为 `true` 时坐标轴的范围计算会考虑标记的位置,确保标记在坐标轴范围内可见。默认条件下或当设置 `false`时,计算默认轴范围时则不考虑标记的数值。 +该配置仅对非类目轴生效。 {{ use: axis-common( prefix = '#', diff --git a/zh/option/component/y-axis.md b/zh/option/component/y-axis.md index d890de4e..d2890429 100644 --- a/zh/option/component/y-axis.md +++ b/zh/option/component/y-axis.md @@ -137,6 +137,7 @@ Y 轴相对于默认位置的偏移,在相同的 `position` 上有多个 Y 轴 是否在坐标轴默认范围计算时包含标记(markPoint、markLine、markArea)。 设置为 `true` 时坐标轴的范围计算会考虑标记的位置,确保标记在坐标轴范围内可见。默认条件下或当设置 `false`时,计算默认轴范围时则不考虑标记的数值。 +该配置仅对非类目轴生效。 {{ use: axis-common( prefix = '#',