mirror of
https://gitee.com/antv/g6.git
synced 2024-12-05 05:09:07 +08:00
docs: update error docs for downloadFullImage API (#4078)
This commit is contained in:
parent
15d804ff1b
commit
59d31195f1
@ -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],
|
||||
});
|
||||
|
@ -25,7 +25,7 @@ order: 17
|
||||
**用法**
|
||||
|
||||
```javascript
|
||||
graph.downloadFullImage('tree-graph', {
|
||||
graph.downloadFullImage('tree-graph', 'image/png', {
|
||||
backgroundColor: '#ddd',
|
||||
padding: [30, 15, 15, 15],
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user