TonyYanOnFire commented on issue #18121: URL: https://github.com/apache/echarts/issues/18121#issuecomment-1375598193
You sure can use current APIs like `getDataURL` and `getConnectedDataURL` to extract the url and save it as an image, which is exactly what I'm doing in my production codes right now. But from what I see there are at least 2 inconveniences: 1. I have to somehow extract and maintain the option I use both in defining `toolbox.feature.saveAsImage` and `getDataURL` 2. I have to define my own download method, which has a great chance to have less compatibility compare to the one echarts has already defined What I wanna do is as simply as trigger the saveAsImage action, and at first I was like "How hard it is? We already have a saveAasImage button here!" . But turns out the work I have to put into is not that simple, to be fair. -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
