From 7dfa9f1cdbc1c7c01285fa4ed723976b495b43cf Mon Sep 17 00:00:00 2001 From: xile611 Date: Fri, 14 Mar 2025 18:44:22 +0800 Subject: [PATCH 1/2] docs: fix error in layout-item --- docs/assets/option/en/common/layout-item.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/assets/option/en/common/layout-item.md b/docs/assets/option/en/common/layout-item.md index 3bb00c5d86..44164af1c8 100644 --- a/docs/assets/option/en/common/layout-item.md +++ b/docs/assets/option/en/common/layout-item.md @@ -42,7 +42,7 @@ For elements with a layout type of 'normal-inline', set the alignment of inline - For elements at the bottom, 'start' - align to the bottom; 'end' - align to the top; 'middle' - align to the middle - For elements on the left, 'start' - align to the left; 'end' - align to the right; 'middle' - align to the middle - For elements on the right, 'start' - align to the right; 'end' - align to the left; 'middle' - align to the middle - {{ if: !${isRegion} }} + {{ /if}} #${prefix} padding(ILayoutNumber|Array|Object) = 0 From 67c8ba419c317f033153b63a19f208d498071b60 Mon Sep 17 00:00:00 2001 From: xile611 Date: Fri, 14 Mar 2025 18:48:02 +0800 Subject: [PATCH 2/2] fix: fix error of ILabelSpec --- packages/vchart/src/component/label/interface.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/vchart/src/component/label/interface.ts b/packages/vchart/src/component/label/interface.ts index 2341676898..f43f7636c5 100644 --- a/packages/vchart/src/component/label/interface.ts +++ b/packages/vchart/src/component/label/interface.ts @@ -26,6 +26,10 @@ export interface ILabelFormatMethodContext { * 系列图元标签配置,一般用于展示数据项 */ export interface ILabelSpec extends ILabelAnimationSpec { + /** + * 标签组件的层级 + */ + zIndex?: number; /** 默认不显示标签 */ visible?: boolean; /**