score:1

When you trigger exportChart a POST request is being sent to the highcharts servers, containing the SVG and some other values within the request body. I've checked the URL which is being called (export.highcharts.com) and it's a kind of a playground for chart exporting. There if you click on download, you can easily see that first a POST request is being fired with some data (JSON) as request payload (Inspect the call in Network tab). As a response you get the generated image string (e.g. charts/chart.20bb843a8be6440e99ffcab5996c532d.png), therefore your exported image can be accessed via the base-url (https://export.highcharts.com/) + the response of the POST call.

Example: https://export.highcharts.com/charts/chart.20bb843a8be6440e99ffcab5996c532d.png

I'm not 100% sure how legit this workaround is, but you can at least play around with it and maybe find a better/more suitable solution.


Related Query

More Query from same tag