Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: 修复链接 404 #2132

Merged
merged 1 commit into from
Dec 22, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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