Ovilia commented on issue #12755: URL: https://github.com/apache/incubator-echarts/issues/12755#issuecomment-639272036
You should create a custom `feature` (doc: [feature](https://echarts.apache.org/en/option.html#toolbox.feature)) rather than get the event, because even if you can get the event, the image has already been saved and there is no use to update title. So you should use a custom feature, and in the `onclick` callback, call `chart.setOption` to add title and then [`chart.getDataURL()`](https://echarts.apache.org/en/api.html#echartsInstance.getDataURL) to get the image in base64 format. ---------------------------------------------------------------- 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]
