SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, iOS Chart, Android Chart and JavaScript Chart Components
Fairly simple question: How do you export or save a chart as an image in the JS library?
Hi Christopher, we don’t have that functionality yet. But we do have this task on our board. So we’re going to do it in the near future.
Hi there
We have created an example showing how to export to image here.
This example uses dom-to-image npm module to export the chart to PNG image. This package exports html (used for legends), svg (used for annotations) and canvas (used everything else) elements.
To download the image we use the file-saver module.
For the export to work correctly position: relative should be set on the chart root element.
<div id="scichart-root" style="position: relative"></div>
Please try the example and let us know if this meets your needs.
Best regards
Andrew
Please login first to submit.