Added "Download PNG" option

This commit is contained in:
Przemek Wiech
2019-02-24 14:08:38 +01:00
parent 285294a3c0
commit e6be58c20b
6 changed files with 45 additions and 0 deletions

View File

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