plainheart commented on issue #13156:
URL:
https://github.com/apache/incubator-echarts/issues/13156#issuecomment-676840011
Maybe you can do it like this
```js
function print() {
// show the title temporarily
myChart.setOption({
title: {
show: true
}
});
// export to data URL
var exportImage = myChart.getDataURL();
// hide the title
myChart.setOption({
title: {
show: false
}
});
}
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]