Skip to content

Commit 7867f63

Browse files
authored
Merge pull request #348 from jp-liu/master
doc: fixed appendData parameter types
2 parents 07f0a87 + e159458 commit 7867f63

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

en/api/echarts-instance.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -737,7 +737,7 @@ Exports connected chart image; returns a base64 url; can be set to `src` of `Ima
737737
```ts
738738
(opts: {
739739
// Specify which series the data will be appended to.
740-
seriesIndex?: string,
740+
seriesIndex?: number,
741741
// The data to be appended.
742742
data?: Array|TypedArray
743743
}) => string

zh/api/echarts-instance.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -724,7 +724,7 @@ img.src = myChart.getDataURL({
724724
```ts
725725
(opts: {
726726
// 要增加数据的系列序号。
727-
seriesIndex?: string,
727+
seriesIndex?: number,
728728
// 增加的数据。
729729
data?: Array|TypedArray
730730
}) => string

0 commit comments

Comments
 (0)