mirror of
https://github.com/nasa/openmct.git
synced 2025-02-21 09:52:04 +00:00
Extends PlotController by adding three new scoped methods: exportPDF, exportPNG, exportJPG. All three methods use basically the same steps. The HTML node of the plot is passed through html2canvas which generates a canvas. From the canvas we export a blob, PNG, or JPG then save the file.