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 1/3] 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 2/3] 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 3/3] 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 度。正值是逆时针。