morrisjs / morris.js

Pretty time-series line graphs
http://morrisjs.github.com/morris.js/
6.92k stars 1.23k forks source link

what is the best way to export the chart #764

Open frankmejia7 opened 6 years ago

frankmejia7 commented 6 years ago

I'm a new web developer, I have try many options but I haven't figure it out how to export the chart to any format, like png, pdf, etc.

schirrel commented 6 years ago

The morris in core dont provide u to export, but you can use something like https://github.com/niklasvh/html2canvas (very easy to use) to make a custom savier