When a chart has 100+ items, it takes forever to download.
The reason we have to re-generate the chart in the background when the user clicks download is because the one on the screen is a tainted canvas. There might still be some possible optimizations:
Cache or otherwise access the <img> elements being rendered in the chart and reuse them for the download. I have no idea if this is possible but it's worth trying.
When a chart has 100+ items, it takes forever to download.
The reason we have to re-generate the chart in the background when the user clicks download is because the one on the screen is a tainted canvas. There might still be some possible optimizations:
<img>
elements being rendered in the chart and reuse them for the download. I have no idea if this is possible but it's worth trying.