Added "Download SVG" option

This commit is contained in:
Przemek Wiech
2019-02-22 23:36:25 +01:00
parent a920147ba8
commit 285294a3c0
5 changed files with 43 additions and 4 deletions

View File

@@ -47,6 +47,7 @@ if (browser && browser.name === 'ie') {
<TopBar
{...props}
onPrint={() => chartViewRef && chartViewRef.print()}
onDownloadSvg={() => chartViewRef && chartViewRef.downloadSvg()}
/>
)}
/>