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: typo fix #5200

Merged
merged 1 commit into from
Jun 16, 2023
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
2 changes: 1 addition & 1 deletion site/docs/manual/single-view/api.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ chart.line().call(x).call(y);
chart.point().call(x).call(y);
```

`node.call` 本质上会调用对节点执行第一个参数指定的函数,并且返回该节点。也就说下面两种写法是等价的。
`node.call` 本质上会对节点调用执行第一个参数指定的函数,并且返回该节点。也就说下面两种写法是等价的。

```js
x(chart.line()); // 第一种
Expand Down
2 changes: 1 addition & 1 deletion site/docs/manual/single-view/transform.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ bin 主要是用来聚合数值类型的数据,group 主要针对离散数据
<img alt="pack" src="https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*HWXPS6a6pOQAAAAAAAAAAAAADmJ7AQ/original" width="640px">

```js
chart.factRect().point().transform({ typ: 'pack' });
chart.facetRect().point().transform({ type: 'pack' });
```

## 多个转换
Expand Down
2 changes: 1 addition & 1 deletion site/docs/manual/view-composition.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ order: 5

最基础的视图复合方式就是**空间复合(Space Composition)**,只是对空间进行划分。

一个比较常见的复合方式是 `chart.faceLayer`:将多个图表重叠在一起。使用场景是这些视图拥有的不同的坐标系,比如下面的条形图和饼图。
一个比较常见的复合方式是 `chart.facetLayer`:将多个图表重叠在一起。使用场景是这些视图拥有的不同的坐标系,比如下面的条形图和饼图。

<img alt="space" src="https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*SFM9T40m2cEAAAAAAAAAAAAADmJ7AQ/original" width="640px">

Expand Down