Skip to content

Commit

Permalink
docs: 修复链接 404
Browse files Browse the repository at this point in the history
close: #1657
  • Loading branch information
visiky committed Dec 22, 2020
1 parent 19e7e1c commit 05c015f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 12 deletions.
10 changes: 4 additions & 6 deletions docs/api/plots/scatter.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ scatterPlot.render();

<description>**optional** \_number | [number, number] | Function\_</description>

[**DEMO1**](../../scatter/basic#color-mapping)
<playground path="scatter/scatter/demo/color-mapping.ts" rid="rect"></playground>

指定点的大小。如没有配置 sizeField,指定一个即可。对 sizeFiled 进行了配置的情况下,可以指定大小数组 `[minSize, maxSize]`, 也可以通过回调函数的方法根据对应数值进行设置。

Expand Down Expand Up @@ -110,7 +110,7 @@ scatterPlot.render();

<description>**optional** \_string | string[] | Function\_</description>

[**DEMO2**](../../scatter/basic#shape-mapping)
<playground path="scatter/bubble/demo/quadrant.ts" rid="rect-quadrant"></playground>

指定点的形状。如没有配置 shapeField ,指定一个即可。对 shapeField 进行了配置的情况下,可以指定形状数组 `['cicle', 'square']`, 也可以通过回调函数的方法根据对应数值进行设置。

Expand Down Expand Up @@ -143,8 +143,6 @@ scatterPlot.render();

<description>**optional** _object_</description>

[**DEMO**](../../scatter/basic#color-mapping)

设置折线样式。pointStyle 中的`fill`会覆盖 `color` 的配置。pointStyle 可以直接指定,也可以通过 callback 的方式,根据数据指定单独的样式。

默认配置:
Expand Down Expand Up @@ -194,7 +192,7 @@ scatterPlot.render();

#### quadrant

[**DEMO**](../../scatter/basic#quadrant)
[**DEMO**](../../../examples/scatter/bubble#quadrant)

<description>**optional** _object_</description>

Expand All @@ -210,7 +208,7 @@ scatterPlot.render();

#### regressionLine

[**DEMO**](../../scatter/basic#line)
[**DEMO**](../../../examples/scatter/scatter#line)

<description>**optional** _object_</description>

Expand Down
10 changes: 4 additions & 6 deletions docs/api/plots/scatter.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ scatterPlot.render();

<description>**optional** \_number | [number, number] | Function\_</description>

[**DEMO1**](../../scatter/basic#color-mapping)
<playground path="scatter/scatter/demo/color-mapping.ts" rid="rect"></playground>

指定点的大小。如没有配置 sizeField,指定一个即可。对 sizeFiled 进行了配置的情况下,可以指定大小数组 `[minSize, maxSize]`, 也可以通过回调函数的方法根据对应数值进行设置。

Expand Down Expand Up @@ -110,7 +110,7 @@ scatterPlot.render();

<description>**optional** \_string | string[] | Function\_</description>

[**DEMO2**](../../scatter/basic#shape-mapping)
<playground path="scatter/bubble/demo/quadrant.ts" rid="rect-quadrant"></playground>

指定点的形状。如没有配置 shapeField ,指定一个即可。对 shapeField 进行了配置的情况下,可以指定形状数组 `['cicle', 'square']`, 也可以通过回调函数的方法根据对应数值进行设置。

Expand Down Expand Up @@ -143,8 +143,6 @@ scatterPlot.render();

<description>**optional** _object_</description>

[**DEMO**](../../scatter/basic#color-mapping)

设置折线样式。pointStyle 中的`fill`会覆盖 `color` 的配置。pointStyle 可以直接指定,也可以通过 callback 的方式,根据数据指定单独的样式。

默认配置:
Expand Down Expand Up @@ -194,7 +192,7 @@ scatterPlot.render();

#### quadrant

[**DEMO**](../../scatter/basic#quadrant)
[**DEMO**](../../../examples/scatter/bubble#quadrant)

<description>**optional** _object_</description>

Expand All @@ -210,7 +208,7 @@ scatterPlot.render();

#### regressionLine

[**DEMO**](../../scatter/basic#line)
[**DEMO**](../../../examples/scatter/scatter#line)

<description>**optional** _object_</description>

Expand Down

0 comments on commit 05c015f

Please sign in to comment.