Skip to content

Commit 9836e08

Browse files
authored
docs(tooltip): 更新 tooltip 关于 marker 的文档 (#2439)
1 parent a0ae386 commit 9836e08

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

docs/api/components/tooltip.en.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ order: 3
1111

1212
#### Tooltip
1313

14-
<img src="https://gw.alipayobjects.com/zos/antfincdn/HjTKrPN%24j6/tooltip-intro.png" class="component-img" alt="tooltip" />
14+
<img src="https://gw.alipayobjects.com/zos/antfincdn/qAwyqRLJXT/Tooltip%252520jieshao.png" class="component-img" alt="tooltip" />
1515

1616
#### Configurations (_TooltipCfg_)
1717

docs/api/components/tooltip.zh.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ order: 3
1313

1414
#### Tooltip 组成
1515

16-
<img src="https://gw.alipayobjects.com/zos/antfincdn/HjTKrPN%24j6/tooltip-intro.png" class="component-img" alt="tooltip" />
16+
<img src="https://gw.alipayobjects.com/zos/antfincdn/qAwyqRLJXT/Tooltip%252520jieshao.png" class="component-img" alt="tooltip" />
1717

1818
#### 配置项 (_TooltipCfg_)
1919

docs/common/marker.zh.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
| 参数名 | 类型 | 默认值 | 描述 |
22
| ------- | ---------------------------- | ------ | -------------------------------- |
33
| symbol | _Marker_ \| _MarkerCallback_ | - | 配置图例 marker 的 symbol 形状 |
4-
| style | ShapeAttrs | - | 图例项 marker 的配置项 |
5-
| spacing | number | - | 图例项 marker 同后面 name 的间距 |
4+
| style | _ShapeAttrs_ | - | 图例项 marker 的配置项 |
5+
| spacing | _number_ | - | 图例项 marker 同后面 name 的间距 |
66

77
_Marker_ 为支持的标记类型有: _circle | square | line | diamond | triangle | triangle-down | hexagon | bowtie | cross | tick | plus | hyphen_
88
_MarkerCallback_`(x: number, y: number, r: number) => PathCommand`

docs/common/tooltip.en.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -99,11 +99,11 @@ Whether to render TooltipMarkers.
9999

100100
##### marker
101101

102-
<description>**optional** _object_</description>
102+
<description>**optional** _ShapeAttrs_</description>
103103

104104
TooltipMarker style configuration.
105105

106-
`markdown:docs/common/marker.en.md`
106+
Please refer to the style configuration [ShapeAttrs](/en/docs/api/graphic-style)
107107

108108
##### showContent
109109

docs/common/tooltip.zh.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -99,11 +99,11 @@ true 表示合并当前点对应的所有数据并展示,false 表示只展示
9999

100100
##### marker
101101

102-
<description>**可选** _object_</description>
102+
<description>**可选** _ShapeAttrs_</description>
103103

104104
tooltipMarker 的样式配置。
105105

106-
`markdown:docs/common/marker.zh.md`
106+
样式配置类型,详细可见: [ShapeAttrs](/zh/docs/api/graphic-style)
107107

108108
##### showContent
109109

0 commit comments

Comments
 (0)