From 9836e08cb761a031e4aebb908716fe2e2e30b9e4 Mon Sep 17 00:00:00 2001 From: Visiky <736929286@qq.com> Date: Thu, 18 Mar 2021 23:56:28 +0800 Subject: [PATCH] =?UTF-8?q?docs(tooltip):=20=E6=9B=B4=E6=96=B0=20tooltip?= =?UTF-8?q?=20=E5=85=B3=E4=BA=8E=20marker=20=E7=9A=84=E6=96=87=E6=A1=A3=20?= =?UTF-8?q?(#2439)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/api/components/tooltip.en.md | 2 +- docs/api/components/tooltip.zh.md | 2 +- docs/common/marker.zh.md | 4 ++-- docs/common/tooltip.en.md | 4 ++-- docs/common/tooltip.zh.md | 4 ++-- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/api/components/tooltip.en.md b/docs/api/components/tooltip.en.md index 549e1fd698..ae6f0be9e4 100644 --- a/docs/api/components/tooltip.en.md +++ b/docs/api/components/tooltip.en.md @@ -11,7 +11,7 @@ order: 3 #### Tooltip -tooltip +tooltip #### Configurations (_TooltipCfg_) diff --git a/docs/api/components/tooltip.zh.md b/docs/api/components/tooltip.zh.md index 7aa93462a3..2a439047c3 100644 --- a/docs/api/components/tooltip.zh.md +++ b/docs/api/components/tooltip.zh.md @@ -13,7 +13,7 @@ order: 3 #### Tooltip 组成 -tooltip +tooltip #### 配置项 (_TooltipCfg_) diff --git a/docs/common/marker.zh.md b/docs/common/marker.zh.md index 81c11b74b2..940e313f92 100644 --- a/docs/common/marker.zh.md +++ b/docs/common/marker.zh.md @@ -1,8 +1,8 @@ | 参数名 | 类型 | 默认值 | 描述 | | ------- | ---------------------------- | ------ | -------------------------------- | | symbol | _Marker_ \| _MarkerCallback_ | - | 配置图例 marker 的 symbol 形状 | -| style | ShapeAttrs | - | 图例项 marker 的配置项 | -| spacing | number | - | 图例项 marker 同后面 name 的间距 | +| style | _ShapeAttrs_ | - | 图例项 marker 的配置项 | +| spacing | _number_ | - | 图例项 marker 同后面 name 的间距 | _Marker_ 为支持的标记类型有: _circle | square | line | diamond | triangle | triangle-down | hexagon | bowtie | cross | tick | plus | hyphen_; _MarkerCallback_ 为 `(x: number, y: number, r: number) => PathCommand`; diff --git a/docs/common/tooltip.en.md b/docs/common/tooltip.en.md index 8053f2b27d..a2d443b619 100644 --- a/docs/common/tooltip.en.md +++ b/docs/common/tooltip.en.md @@ -99,11 +99,11 @@ Whether to render TooltipMarkers. ##### marker -**optional** _object_ +**optional** _ShapeAttrs_ TooltipMarker style configuration. -`markdown:docs/common/marker.en.md` +Please refer to the style configuration [ShapeAttrs](/en/docs/api/graphic-style) ##### showContent diff --git a/docs/common/tooltip.zh.md b/docs/common/tooltip.zh.md index 27639219ca..ede1d448c3 100644 --- a/docs/common/tooltip.zh.md +++ b/docs/common/tooltip.zh.md @@ -99,11 +99,11 @@ true 表示合并当前点对应的所有数据并展示,false 表示只展示 ##### marker -**可选** _object_ +**可选** _ShapeAttrs_ tooltipMarker 的样式配置。 -`markdown:docs/common/marker.zh.md` +样式配置类型,详细可见: [ShapeAttrs](/zh/docs/api/graphic-style) ##### showContent