Skip to content

Commit 373aa81

Browse files
committed
docs: add description for label.showRelatedMarkTooltip
1 parent 106149f commit 373aa81

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

docs/assets/option/en/component/label.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -403,3 +403,10 @@ Used for filtering stacked group data
403403

404404
- 'min' displays labels for the maximum value in the stacked group
405405
- 'max' displays labels for the minimum value in the stacked group
406+
407+
#${prefix} showRelatedMarkTooltip(boolean)=false
408+
409+
Available since version 1.13.5.
410+
411+
The default value is `false`, which means hovering over the label will not trigger the tooltip.
412+
When set to `true`, hovering over the label will trigger the mark tooltip of its associated graphic.

docs/assets/option/zh/component/label.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -401,3 +401,10 @@ const layout = (attribute, text, getRelatedGraphic) => {
401401

402402
- 'min' 对堆积分组中的最大值展示标签
403403
- 'max' 对堆积分组中的最小值展示标签
404+
405+
#${prefix} showRelatedMarkTooltip(boolean)=false
406+
407+
自 1.13.5 开始生效
408+
409+
默认值为 `false`,即鼠标悬浮在标签上不会触发 tooltip。
410+
当设置为 `true` 时,鼠标悬浮在标签上会触发其关联图形的 tooltip。

0 commit comments

Comments
 (0)