ae6f6565fa
[export] remove pdf export
...
Remove pdf export with extreme prejudice due to issues with build process.
Fixes https://github.com/nasa/openmct/issues/1217
2016-09-30 16:54:42 -07:00
bad901a162
[Typo] Add reference to self
...
Issue #967
2016-09-12 17:06:23 +09:00
487ec7907c
[Formatting] Fix missing space
...
Issue #967
2016-09-12 16:59:39 +09:00
3093ab8067
[Testing] Convert blob to proper format. Inject FileReader.
...
Issue #967
2016-09-12 16:58:21 +09:00
b51ffcada6
[Formatting] Add inline JSDoc
...
Issue #1164
2016-09-10 01:59:07 +09:00
ceb3e8e3dd
[Enhancement] Add IE, Opera, Safari support for canvas.toBlob()
...
This is currently being used for exporting plots to PNG/JPG.
2016-09-05 19:40:22 +09:00
989e4e1b75
[Testing] Add jsPDF, html2canvas, and saveAs as injectible dependencies
...
I would prefer this be passed in via the bundle, but it continues to fail
saying "Unknown Provider". I have chosen to require them into the module
the old-fashioned way, then allow an injectible dependency to override.
2016-09-04 23:02:23 +09:00
9bb647e275
[Testing] Add better dependency injection and error handling
2016-09-04 19:19:14 +09:00
26c14d2bca
[Formatting] Fix styling errors
2016-09-03 14:02:19 +09:00
de85f79ab6
[Enhancement] Hide export buttons during export
...
Buttons temporarily hide until export completes.
2016-09-02 20:41:38 +09:00
3e3d3ebcf9
[Formatting] Switched to double quote across the board for consistency
2016-09-02 11:58:15 +09:00
e370271093
[Code Review] Updates based on code review by @VWoeltjen
...
Set export functions on the ExportImageService prototype. Insantiated
ExportImageService in the PlotController for better dependcy injection.
2016-09-02 11:54:38 +09:00
3a19890be9
[Formatting] Linting
2016-09-02 03:11:26 +09:00
ea8f429902
[Enhancement] Add export functionality to PlotController
...
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.
2016-09-02 02:41:43 +09:00