docs: update error docs for downloadFullImage API (#4078)

This commit is contained in:
Yanyan Wang 2022-11-25 14:59:54 +08:00 committed by GitHub
parent 15d804ff1b
commit 59d31195f1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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],
});

View File

@ -25,7 +25,7 @@ order: 17
**用法**
```javascript
graph.downloadFullImage('tree-graph', {
graph.downloadFullImage('tree-graph', 'image/png', {
backgroundColor: '#ddd',
padding: [30, 15, 15, 15],
});