[Frontend] Add export plot buttons

This commit is contained in:
David Hudson 2016-09-02 02:32:42 +09:00
parent 06a453333a
commit 219301a85b

View File

@ -21,6 +21,21 @@
-->
<span ng-controller="PlotController as plot"
class="abs holder holder-plot">
<a class="s-button t-export icon-download labeled"
ng-click="exportPDF()"
title="Export This View's Data">
Export as PDF
</a>
<a class="s-button t-export icon-download labeled"
ng-click="exportPNG()"
title="Export This View's Data">
Export as PNG
</a>
<a class="s-button t-export icon-download labeled"
ng-click="exportJPG()"
title="Export This View's Data">
Export as JPG
</a>
<div class="gl-plot"
ng-style="{ height: 100 / plot.getSubPlots().length + '%'}"
ng-repeat="subplot in plot.getSubPlots()">