From 828d800b7a9a025ba79c8a9c6c490f0a8c2476d4 Mon Sep 17 00:00:00 2001 From: Dai Xuezhou Date: Thu, 14 Aug 2025 15:27:16 +0800 Subject: [PATCH 1/8] feat(radar): add clockwise layout doc --- en/option/component/radar.md | 8 ++++++++ zh/option/component/radar.md | 8 ++++++++ 2 files changed, 16 insertions(+) diff --git a/en/option/component/radar.md b/en/option/component/radar.md index 5fd2b5fd0..f14d0036d 100644 --- a/en/option/component/radar.md +++ b/en/option/component/radar.md @@ -29,6 +29,14 @@ Here is a custom example of radar component. none = true ) }} +## clockwise(boolean) = false + +{{ use: partial-version(version = "6.0.1") }} + + + +Whether to clockwise layout indicator axis. + ## startAngle(number) = 90 The start angle of coordinate, which is the angle of the first indicator axis. diff --git a/zh/option/component/radar.md b/zh/option/component/radar.md index 842973699..37234dfb2 100644 --- a/zh/option/component/radar.md +++ b/zh/option/component/radar.md @@ -65,6 +65,14 @@ const option = { none = true ) }} +## clockwise(boolean) = false + +{{ use: partial-version(version = "6.0.1") }} + + + +是否以顺时针排布指示器轴。 + ## startAngle(number) = 90 坐标系起始角度,也就是第一个指示器轴的角度。 From dd8ddcaf07ef2f250601633c534e68ec6c9cf2c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=98=A5=E7=A7=8B=E5=8D=8A=E5=A4=8F?= Date: Wed, 10 Sep 2025 17:06:06 +0800 Subject: [PATCH 2/8] feat(pie):add tangential-fixed rotation mode to keep labels tangential without flipping. --- en/option/series/pie.md | 1 + zh/option/series/pie.md | 1 + 2 files changed, 2 insertions(+) diff --git a/en/option/series/pie.md b/en/option/series/pie.md index 0e7d67784..3e1ace716 100644 --- a/en/option/series/pie.md +++ b/en/option/series/pie.md @@ -531,6 +531,7 @@ Label rotation. + If `true` or `'radial'`, the labels are rotated radially. (The `'radial'` literal is supported since `v5.2.0`) + If `'tangential'`, the labels are rotated tangentially. (Since `v5.2.0`) ++ If set to `‘tangential-fixed’`, the arrangement will be tangential and will not flip. (Since `v6.0.0`) + If `number`, the labels are rotated in degrees (-90° - 90°). The negative value represents clockwise. {{ use: partial-text-style( diff --git a/zh/option/series/pie.md b/zh/option/series/pie.md index d92c3a64d..49833849a 100644 --- a/zh/option/series/pie.md +++ b/zh/option/series/pie.md @@ -547,6 +547,7 @@ const option = { + 如果为 `true` 或 `'radial'`,则为径向排布。(`'radial'` 字面量从 `v5.2.0` 开始支持) + 如果为 `'tangential'`,则为切向排布。(从 `v5.2.0` 开始支持) ++ 如果为 `‘tangential-fixed’`,则为切向排布,不反转。(从 v6.0.0 开始支持) + 如果为 `number` ,旋转指定角度,从 -90 度到 90 度。正值是逆时针。 From 88be39cc95372ff589bfd890ebdba189f8487e98 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=98=A5=E7=A7=8B=E5=8D=8A=E5=A4=8F?= <2646403766@qq.com> Date: Sat, 11 Oct 2025 09:44:11 +0800 Subject: [PATCH 3/8] fix(pie):rename tangential-fixed rotation mode to tangential-noflip for clearer semantics --- en/option/series/pie.md | 2 +- zh/option/series/pie.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/en/option/series/pie.md b/en/option/series/pie.md index 3e1ace716..47f3e1385 100644 --- a/en/option/series/pie.md +++ b/en/option/series/pie.md @@ -531,7 +531,7 @@ Label rotation. + If `true` or `'radial'`, the labels are rotated radially. (The `'radial'` literal is supported since `v5.2.0`) + If `'tangential'`, the labels are rotated tangentially. (Since `v5.2.0`) -+ If set to `‘tangential-fixed’`, the arrangement will be tangential and will not flip. (Since `v6.0.0`) ++ If set to `‘tangential-noflip’`, the arrangement will be tangential and will not flip. (Since `v6.0.0`) + If `number`, the labels are rotated in degrees (-90° - 90°). The negative value represents clockwise. {{ use: partial-text-style( diff --git a/zh/option/series/pie.md b/zh/option/series/pie.md index 49833849a..9ee5e48e3 100644 --- a/zh/option/series/pie.md +++ b/zh/option/series/pie.md @@ -547,7 +547,7 @@ const option = { + 如果为 `true` 或 `'radial'`,则为径向排布。(`'radial'` 字面量从 `v5.2.0` 开始支持) + 如果为 `'tangential'`,则为切向排布。(从 `v5.2.0` 开始支持) -+ 如果为 `‘tangential-fixed’`,则为切向排布,不反转。(从 v6.0.0 开始支持) ++ 如果为 `‘tangential-noflip’`,则为切向排布,不反转。(从 v6.0.0 开始支持) + 如果为 `number` ,旋转指定角度,从 -90 度到 90 度。正值是逆时针。 From 2187c0290976809beffd6ff3c04575209fd33129 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=98=A5=E7=A7=8B=E5=8D=8A=E5=A4=8F?= <2646403766@qq.com> Date: Wed, 15 Oct 2025 14:49:55 +0800 Subject: [PATCH 4/8] fix(pie):tangential-noflip supports version modification. --- en/option/series/pie.md | 2 +- zh/option/series/pie.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/en/option/series/pie.md b/en/option/series/pie.md index 47f3e1385..87bef8677 100644 --- a/en/option/series/pie.md +++ b/en/option/series/pie.md @@ -531,7 +531,7 @@ Label rotation. + If `true` or `'radial'`, the labels are rotated radially. (The `'radial'` literal is supported since `v5.2.0`) + If `'tangential'`, the labels are rotated tangentially. (Since `v5.2.0`) -+ If set to `‘tangential-noflip’`, the arrangement will be tangential and will not flip. (Since `v6.0.0`) ++ If set to `‘tangential-noflip’`, the arrangement will be tangential and will not flip. (Since `v6.0.1`) + If `number`, the labels are rotated in degrees (-90° - 90°). The negative value represents clockwise. {{ use: partial-text-style( diff --git a/zh/option/series/pie.md b/zh/option/series/pie.md index 9ee5e48e3..23d4dfb53 100644 --- a/zh/option/series/pie.md +++ b/zh/option/series/pie.md @@ -547,7 +547,7 @@ const option = { + 如果为 `true` 或 `'radial'`,则为径向排布。(`'radial'` 字面量从 `v5.2.0` 开始支持) + 如果为 `'tangential'`,则为切向排布。(从 `v5.2.0` 开始支持) -+ 如果为 `‘tangential-noflip’`,则为切向排布,不反转。(从 v6.0.0 开始支持) ++ 如果为 `‘tangential-noflip’`,则为切向排布,不反转。(从 v6.0.1 开始支持) + 如果为 `number` ,旋转指定角度,从 -90 度到 90 度。正值是逆时针。 From d4f4e93612a688957485e8a6b140f1df8cce91b7 Mon Sep 17 00:00:00 2001 From: Justin-ZS Date: Fri, 31 Oct 2025 18:30:09 +0800 Subject: [PATCH 5/8] doc(axis): add doc for dataMin/dataMax --- en/option/component/axis-common.md | 60 ++++++++++++++++++++++++++++++ zh/option/component/axis-common.md | 58 +++++++++++++++++++++++++++++ 2 files changed, 118 insertions(+) diff --git a/en/option/component/axis-common.md b/en/option/component/axis-common.md index ec8a826c4..a5233783d 100644 --- a/en/option/component/axis-common.md +++ b/en/option/component/axis-common.md @@ -693,6 +693,66 @@ max: function (value) { `value` is an object, containing the `min` value and `max` value of the data. This function should return the max value of axis, or return `null`/`undefined` to make echarts use the auto calculated max value (`null`/`undefined` return is only supported since `v4.8.0`). +#${prefix} dataMin(number) = null + + + +{{ use: partial-version( + version = '6.0.1' +) }} + +Specify the data minimum value to extend the axis range while preserving the nice scale algorithm. + +It is available only for value, logarithmic, and time axes, i.e., [type](~${componentType}.type): 'value', 'log', or 'time'. + +**How it works:** + +`dataMin` works like inserting a virtual data point into your dataset, but this point only participates in axis range calculation and won't be displayed in the chart. + +- When `dataMin` is **less than** the actual data minimum: The axis extends to include this value, using a nice scale value no greater than `dataMin` as the axis minimum +- When `dataMin` is **greater than or equal to** the actual data minimum: No effect, the axis is calculated using the original logic + +**Use cases:** + +- Ensure the axis includes a reference value (like passing line, target value, etc.) +- Reserve visual space for data + +**The difference from [min](~${componentType}.min):** +- `min` fixes the axis minimum value and disables the nice scale algorithm +- `dataMin` only affects the axis range while preserving the nice scale algorithm + + + +#${prefix} dataMax(number) = null + + + +{{ use: partial-version( + version = '6.0.1' +) }} + +Specify the data maximum value to extend the axis range while preserving the nice scale algorithm. + +It is available only for value, logarithmic, and time axes, i.e., [type](~${componentType}.type): 'value', 'log', or 'time'. + +**How it works:** + +`dataMax` works like inserting a virtual data point into your dataset, but this point only participates in axis range calculation and won't be displayed in the chart. + +- When `dataMax` is **greater than** the actual data maximum: The axis extends to include this value, using a nice scale value no less than `dataMax` as the axis maximum +- When `dataMax` is **less than or equal to** the actual data maximum: No effect, the axis is calculated using the original logic + +**Use cases:** + +- Ensure the Y-axis includes a target value or ceiling +- Reserve visual space above the data for better presentation +- Maintain consistent axis ranges across multiple charts + +**The difference from [max](~${componentType}.max):** +- `max` fixes the axis maximum value and disables the nice scale algorithm +- `dataMax` only affects the axis range while preserving the nice scale algorithm + + #${prefix} scale(boolean) = false diff --git a/zh/option/component/axis-common.md b/zh/option/component/axis-common.md index 26b066cc8..612dfc056 100644 --- a/zh/option/component/axis-common.md +++ b/zh/option/component/axis-common.md @@ -690,6 +690,64 @@ max: function (value) { 其中 `value` 是一个包含 `min` 和 `max` 的对象,分别表示数据的最大最小值,这个函数可返回坐标轴的最大值,也可返回 `null`/`undefined` 来表示“自动计算最大值”(返回 `null`/`undefined` 从 `v4.8.0` 开始支持)。 +#${prefix} dataMin(number) = null + + + +{{ use: partial-version( + version = '6.0.1' +) }} + +指定数据最小值,用于扩展坐标轴范围同时保持自动刻度优化。 + +只在数值轴、对数轴、时间轴中([type](~${componentType}.type): 'value'、'log' 或 'time')有效。 + +**工作原理:** + +`dataMin` 的效果好似在数据中插入了一个虚拟的数据点,但这个点只参与坐标轴范围的计算,不会实际显示在图表中。 + +- 当 `dataMin` **小于**实际数据最小值时:坐标轴会扩展以包含这个值,使用一个不大于 `dataMin` 的整齐刻度值作为坐标轴最小值 +- 当 `dataMin` **大于等于**实际数据最小值时:不产生任何影响,按原有逻辑计算 + +**适用场景:** + +- 确保坐标轴包含某个参考值(如及格线、目标值等) +- 需要为数据留出一定的视觉空间 + +**与 [min](~${componentType}.min) 的区别:** +- `min` 会固定坐标轴最小值,禁用自动刻度优化 +- `dataMin` 只影响坐标轴范围,仍保持自动刻度优化 + +#${prefix} dataMax(number) = null + + + +{{ use: partial-version( + version = '6.0.1' +) }} + +指定数据最大值,用于扩展坐标轴范围同时保持自动刻度优化。 + +只在数值轴、对数轴、时间轴中([type](~${componentType}.type): 'value'、'log' 或 'time')有效。 + +**工作原理:** + +`dataMax` 的效果好似在数据中插入了一个虚拟的数据点,但这个点只参与坐标轴范围的计算,不会实际显示在图表中。 + +- 当 `dataMax` **大于**实际数据最大值时:坐标轴会扩展以包含这个值,使用一个不小于 `dataMax` 的整齐刻度值作为坐标轴最大值 +- 当 `dataMax` **小于等于**实际数据最大值时:不产生任何影响,按原有逻辑计算 + +**适用场景:** + +- 确保坐标轴包含目标值或上限值 +- 为数据预留视觉空间,使图表更美观 +- 使多个相似的图表保持一致的坐标轴范围 + +**与 [max](~${componentType}.max) 的区别:** +- `max` 会固定坐标轴最大值,禁用自动刻度优化 +- `dataMax` 只影响坐标轴范围,仍保持自动刻度优化 + + #${prefix} scale(boolean) = false From 06a7e71d451b0f74281569e417cf034bea214e12 Mon Sep 17 00:00:00 2001 From: Justin Jin Date: Sun, 2 Nov 2025 18:02:23 +0800 Subject: [PATCH 6/8] doc(visualmap): add doc for seriesTargets --- en/option/component/visual-map.md | 49 +++++++++++++++++++++++++++++++ en/tutorial/visual-map.md | 42 ++++++++++++++++++++++++++ zh/option/component/visual-map.md | 49 +++++++++++++++++++++++++++++++ zh/tutorial/visual-map.md | 41 ++++++++++++++++++++++++++ 4 files changed, 181 insertions(+) diff --git a/en/option/component/visual-map.md b/en/option/component/visual-map.md index e23be60a6..1511e76fe 100644 --- a/en/option/component/visual-map.md +++ b/en/option/component/visual-map.md @@ -325,6 +325,55 @@ Specify visual mapping should be performed on which series, from which Can be a id or a list of ids. All series are used by default. +## seriesTargets(Array) + +{{ use: partial-version(version = "6.0.1") }} + +Specify multiple series with their corresponding dimension mappings. When `seriesTargets` is configured, `seriesIndex`, `seriesId`, and `dimension` will be ignored. + +This option allows a single `visualMap` component to control different dimensions of multiple series simultaneously, which is particularly useful when working with datasets. + +Each target object should contain the following properties: +- `seriesIndex` or `seriesId`: Specify the series (choose one) +- `dimension`: Specify the data dimension for that series + +Example: +```javascript +option = { + dataset: { + source: [ + ['product', 'sales', 'price', 'year'], + ['A', 100, 20, 2020], + ['B', 200, 30, 2021], + ['C', 150, 25, 2022] + ] + }, + visualMap: { + type: 'continuous', + min: 0, + max: 100, + // Configure different series to use different dimensions + seriesTargets: [ + { + seriesIndex: 0, + dimension: 1 // First series uses 'sales' dimension + }, + { + seriesIndex: 1, + dimension: 2 // Second series uses 'price' dimension + } + ], + inRange: { + color: ['#50a3ba', '#eac736', '#d94e5d'] + } + }, + series: [ + { type: 'bar' }, + { type: 'line' } + ] +}; +``` + ## hoverLink(boolean) = true `hoverLink` enable highlight certain graphical elements of chart when mouse hovers on some place of `visualMap` component that is corresponding to those graphical elements by visual mapping. diff --git a/en/tutorial/visual-map.md b/en/tutorial/visual-map.md index 87412594b..359a68dea 100644 --- a/en/tutorial/visual-map.md +++ b/en/tutorial/visual-map.md @@ -145,4 +145,46 @@ option = { }; ``` +Example C (Using seriesTargets to map different dimensions for different series): + +```javascript +option = { + dataset: { + source: [ + ['product', 'sales', 'price', 'year'], + ['A', 100, 20, 2020], + ['B', 200, 30, 2021], + ['C', 150, 25, 2022] + ] + }, + visualMap: [ + { + type: 'continuous', + min: 0, + max: 100, + // seriesTargets allows specifying different mapping dimensions for different series + // When seriesTargets is configured, dimension, seriesIndex, and seriesId are ignored + seriesTargets: [ + { + seriesIndex: 0, + dimension: 1 // First series maps to 'sales' dimension + }, + { + seriesIndex: 1, + dimension: 2 // Second series maps to 'price' dimension + } + ], + inRange: { + color: ['#50a3ba', '#eac736', '#d94e5d'] + } + }, + ... + ], + series: [ + { type: 'bar' }, + { type: 'line' } + ] +}; +``` + For more information, please refer to [visualMap.inRange](option.html#visualMap.inRange) and [visualMap.outOfRange](option.html#visualMap.outOfRange). diff --git a/zh/option/component/visual-map.md b/zh/option/component/visual-map.md index 249bdf8e1..173db282e 100644 --- a/zh/option/component/visual-map.md +++ b/zh/option/component/visual-map.md @@ -295,6 +295,55 @@ chart.setOption(option); // option设置回 ${componentMainType} 可以是一个 id 或者一个 id 数组。 默认取所有系列。 +## seriesTargets(Array) + +{{ use: partial-version(version = "6.0.1") }} + +指定多个系列及其对应的维度映射关系。当配置了 `seriesTargets` 时,`seriesIndex`、`seriesId` 和 `dimension` 将被忽略。 + +这个选项允许单个 `visualMap` 组件同时控制多个系列的不同维度,特别适用于使用 dataset 的场景。 + +每个目标对象应包含以下属性: +- `seriesIndex` 或 `seriesId`:指定系列(二者选其一) +- `dimension`:指定该系列使用的数据维度 + +示例: +```javascript +option = { + dataset: { + source: [ + ['product', 'sales', 'price', 'year'], + ['A', 100, 20, 2020], + ['B', 200, 30, 2021], + ['C', 150, 25, 2022] + ] + }, + visualMap: { + type: 'continuous', + min: 0, + max: 100, + // 配置不同系列使用不同维度 + seriesTargets: [ + { + seriesIndex: 0, + dimension: 1 // 第一个系列使用 'sales' 维度 + }, + { + seriesIndex: 1, + dimension: 2 // 第二个系列使用 'price' 维度 + } + ], + inRange: { + color: ['#50a3ba', '#eac736', '#d94e5d'] + } + }, + series: [ + { type: 'bar' }, + { type: 'line' } + ] +}; +``` + ## hoverLink(boolean) = true 打开 `hoverLink` 功能时,鼠标悬浮到 `visualMap` 组件上时,鼠标位置对应的数值 在 图表中对应的图形元素,会高亮。 diff --git a/zh/tutorial/visual-map.md b/zh/tutorial/visual-map.md index cee605411..de57b8e17 100644 --- a/zh/tutorial/visual-map.md +++ b/zh/tutorial/visual-map.md @@ -146,4 +146,45 @@ option = { }; ``` +例三(使用 seriesTargets 映射不同系列的不同维度): +```javascript +option = { + dataset: { + source: [ + ['product', 'sales', 'price', 'year'], + ['A', 100, 20, 2020], + ['B', 200, 30, 2021], + ['C', 150, 25, 2022] + ] + }, + visualMap: [ + { + type: 'continuous', + min: 0, + max: 100, + // 使用 seriesTargets 可以为不同系列指定不同的映射维度 + // 当配置 seriesTargets 后,dimension、seriesIndex、seriesId 将被忽略 + seriesTargets: [ + { + seriesIndex: 0, + dimension: 1 // 第一个系列映射 'sales' 维度 + }, + { + seriesIndex: 1, + dimension: 2 // 第二个系列映射 'price' 维度 + } + ], + inRange: { + color: ['#50a3ba', '#eac736', '#d94e5d'] + } + }, + ... + ], + series: [ + { type: 'bar' }, + { type: 'line' } + ] +}; +``` + 更多详情,参见 [visualMap.inRange](option.html#visualMap.inRange) 和 [visualMap.outOfRange](option.html#visualMap.outOfRange)。 From 9b0fa2470786f87a1fee90349c3d8d9af3a1f043 Mon Sep 17 00:00:00 2001 From: plainheart Date: Mon, 18 May 2026 21:33:07 +0800 Subject: [PATCH 7/8] fix since version to 6.1.0 --- en/option/component/axis-common.md | 6 +++--- en/option/component/radar.md | 2 +- en/option/component/visual-map.md | 2 +- en/option/series/pie.md | 2 +- en/tutorial/visual-map.md | 2 +- zh/option/component/axis-common.md | 6 +++--- zh/option/component/radar.md | 2 +- zh/option/component/visual-map.md | 2 +- zh/option/series/pie.md | 2 +- zh/tutorial/visual-map.md | 2 +- 10 files changed, 14 insertions(+), 14 deletions(-) diff --git a/en/option/component/axis-common.md b/en/option/component/axis-common.md index 055532374..fa37d932d 100644 --- a/en/option/component/axis-common.md +++ b/en/option/component/axis-common.md @@ -932,12 +932,12 @@ max: function (value) { `value` is an object, containing the `min` value and `max` value of the data. This function should return the max value of axis, or return `null`/`undefined` to make echarts use the auto calculated max value (`null`/`undefined` return is only supported since `v4.8.0`). -#${prefix} dataMin(number) = null +#${prefix} dataMin(number) {{ use: partial-version( - version = '6.0.1' + version = '6.1.0' ) }} Specify the data minimum value to extend the axis range while preserving the nice scale algorithm. @@ -967,7 +967,7 @@ It is available only for value, logarithmic, and time axes, i.e., [type](~${comp {{ use: partial-version( - version = '6.0.1' + version = '6.1.0' ) }} Specify the data maximum value to extend the axis range while preserving the nice scale algorithm. diff --git a/en/option/component/radar.md b/en/option/component/radar.md index f14d0036d..94d824c5d 100644 --- a/en/option/component/radar.md +++ b/en/option/component/radar.md @@ -31,7 +31,7 @@ Here is a custom example of radar component. ## clockwise(boolean) = false -{{ use: partial-version(version = "6.0.1") }} +{{ use: partial-version(version = "6.1.0") }} diff --git a/en/option/component/visual-map.md b/en/option/component/visual-map.md index 1511e76fe..9843884d3 100644 --- a/en/option/component/visual-map.md +++ b/en/option/component/visual-map.md @@ -327,7 +327,7 @@ All series are used by default. ## seriesTargets(Array) -{{ use: partial-version(version = "6.0.1") }} +{{ use: partial-version(version = "6.1.0") }} Specify multiple series with their corresponding dimension mappings. When `seriesTargets` is configured, `seriesIndex`, `seriesId`, and `dimension` will be ignored. diff --git a/en/option/series/pie.md b/en/option/series/pie.md index 87bef8677..a678a552c 100644 --- a/en/option/series/pie.md +++ b/en/option/series/pie.md @@ -531,7 +531,7 @@ Label rotation. + If `true` or `'radial'`, the labels are rotated radially. (The `'radial'` literal is supported since `v5.2.0`) + If `'tangential'`, the labels are rotated tangentially. (Since `v5.2.0`) -+ If set to `‘tangential-noflip’`, the arrangement will be tangential and will not flip. (Since `v6.0.1`) ++ If `'tangential-noflip'`, the arrangement will be tangential and will not flip. (Since `v6.1.0`) + If `number`, the labels are rotated in degrees (-90° - 90°). The negative value represents clockwise. {{ use: partial-text-style( diff --git a/en/tutorial/visual-map.md b/en/tutorial/visual-map.md index 359a68dea..8237a26cd 100644 --- a/en/tutorial/visual-map.md +++ b/en/tutorial/visual-map.md @@ -145,7 +145,7 @@ option = { }; ``` -Example C (Using seriesTargets to map different dimensions for different series): +Example C (Using `seriesTargets` to map different dimensions for different series): ```javascript option = { diff --git a/zh/option/component/axis-common.md b/zh/option/component/axis-common.md index c45c95599..6d607bbb0 100644 --- a/zh/option/component/axis-common.md +++ b/zh/option/component/axis-common.md @@ -929,12 +929,12 @@ max: function (value) { 其中 `value` 是一个包含 `min` 和 `max` 的对象,分别表示数据的最大最小值,这个函数可返回坐标轴的最大值,也可返回 `null`/`undefined` 来表示“自动计算最大值”(返回 `null`/`undefined` 从 `v4.8.0` 开始支持)。 -#${prefix} dataMin(number) = null +#${prefix} dataMin(number) {{ use: partial-version( - version = '6.0.1' + version = '6.1.0' ) }} 指定数据最小值,用于扩展坐标轴范围同时保持自动刻度优化。 @@ -962,7 +962,7 @@ max: function (value) { {{ use: partial-version( - version = '6.0.1' + version = '6.1.0' ) }} 指定数据最大值,用于扩展坐标轴范围同时保持自动刻度优化。 diff --git a/zh/option/component/radar.md b/zh/option/component/radar.md index 37234dfb2..7d10986b7 100644 --- a/zh/option/component/radar.md +++ b/zh/option/component/radar.md @@ -67,7 +67,7 @@ const option = { ## clockwise(boolean) = false -{{ use: partial-version(version = "6.0.1") }} +{{ use: partial-version(version = "6.1.0") }} diff --git a/zh/option/component/visual-map.md b/zh/option/component/visual-map.md index 173db282e..f86d40d5c 100644 --- a/zh/option/component/visual-map.md +++ b/zh/option/component/visual-map.md @@ -297,7 +297,7 @@ chart.setOption(option); // option设置回 ${componentMainType} ## seriesTargets(Array) -{{ use: partial-version(version = "6.0.1") }} +{{ use: partial-version(version = "6.1.0") }} 指定多个系列及其对应的维度映射关系。当配置了 `seriesTargets` 时,`seriesIndex`、`seriesId` 和 `dimension` 将被忽略。 diff --git a/zh/option/series/pie.md b/zh/option/series/pie.md index 23d4dfb53..73714af15 100644 --- a/zh/option/series/pie.md +++ b/zh/option/series/pie.md @@ -547,7 +547,7 @@ const option = { + 如果为 `true` 或 `'radial'`,则为径向排布。(`'radial'` 字面量从 `v5.2.0` 开始支持) + 如果为 `'tangential'`,则为切向排布。(从 `v5.2.0` 开始支持) -+ 如果为 `‘tangential-noflip’`,则为切向排布,不反转。(从 v6.0.1 开始支持) ++ 如果为 `'tangential-noflip'`,则为切向排布,不反转。(从 `v6.1.0` 开始支持) + 如果为 `number` ,旋转指定角度,从 -90 度到 90 度。正值是逆时针。 diff --git a/zh/tutorial/visual-map.md b/zh/tutorial/visual-map.md index de57b8e17..75db46e04 100644 --- a/zh/tutorial/visual-map.md +++ b/zh/tutorial/visual-map.md @@ -146,7 +146,7 @@ option = { }; ``` -例三(使用 seriesTargets 映射不同系列的不同维度): +例三(使用 `seriesTargets` 映射不同系列的不同维度): ```javascript option = { dataset: { From 2683d6abb51c54e3d6675dd9d4e1e03f63ccf5c9 Mon Sep 17 00:00:00 2001 From: plainheart Date: Mon, 18 May 2026 21:34:19 +0800 Subject: [PATCH 8/8] fix --- en/option/component/axis-common.md | 2 +- zh/option/component/axis-common.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/en/option/component/axis-common.md b/en/option/component/axis-common.md index fa37d932d..f0ccf9de0 100644 --- a/en/option/component/axis-common.md +++ b/en/option/component/axis-common.md @@ -962,7 +962,7 @@ It is available only for value, logarithmic, and time axes, i.e., [type](~${comp -#${prefix} dataMax(number) = null +#${prefix} dataMax(number) diff --git a/zh/option/component/axis-common.md b/zh/option/component/axis-common.md index 6d607bbb0..2a9d53d77 100644 --- a/zh/option/component/axis-common.md +++ b/zh/option/component/axis-common.md @@ -957,7 +957,7 @@ max: function (value) { - `min` 会固定坐标轴最小值,禁用自动刻度优化 - `dataMin` 只影响坐标轴范围,仍保持自动刻度优化 -#${prefix} dataMax(number) = null +#${prefix} dataMax(number)