Skip to content

Commit

Permalink
Update plot-api.zh.md (#3389)
Browse files Browse the repository at this point in the history
删除一个 单引号
  • Loading branch information
shiwanmenghuxiahuashan committed Nov 3, 2022
1 parent c4fc8e2 commit c728cf7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/api/plot-api.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ G2Plot 的核心技术架构非常简单,所有的 Plot 图表都继承于一
```ts
import { Line } from '@antv/g2plot';

const line = new Line(container', options);
const line = new Line(container, options);
// 1. `container`: 图表渲染的 DOM 容器 id 或者 HTMLElement 实例
// 2. `options`: 图表配置数据,不同的图表功能请参考[基础图表 API]
```
Expand Down Expand Up @@ -152,4 +152,4 @@ dualAxes.addAnnotations(
plot.removeAnnotations(annotations: { id: string }[]) => void;
```

批量为当前图表删除图表标注。通过 id 匹配,如果匹配成功,则删除。
批量为当前图表删除图表标注。通过 id 匹配,如果匹配成功,则删除。

0 comments on commit c728cf7

Please sign in to comment.