Skip to content

Commit

Permalink
docs: update error docs for downloadFullImage API (#4078)
Browse files Browse the repository at this point in the history
  • Loading branch information
Yanyan-Wang authored Nov 25, 2022
1 parent 15d804f commit 59d3119
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/site/docs/api/graphFunc/download.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ where the `imageConfig` is the configuration for exported image:
**Usage**

```javascript
graph.downloadFullImage('tree-graph', {
graph.downloadFullImage('tree-graph', 'image/png', {
backgroundColor: '#ddd',
padding: [30, 15, 15, 15],
});
Expand Down
2 changes: 1 addition & 1 deletion packages/site/docs/api/graphFunc/download.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ order: 17
**用法**

```javascript
graph.downloadFullImage('tree-graph', {
graph.downloadFullImage('tree-graph', 'image/png', {
backgroundColor: '#ddd',
padding: [30, 15, 15, 15],
});
Expand Down

0 comments on commit 59d3119

Please sign in to comment.