Saving a chart image programatically to file or disk


« Back to message list

Enter your email address to get email updates on this topic. You can stop receiving updates by clicking the link in the update email messages.

Posted by Stu Andrews on 23rd March 2016
Hi Richard,

Just wondering if you had any tips/thoughts on getting rgraph graphs saved to file/disk without user intervention (at all).

Cheers.
Posted by Richard on 23rd March 2016
Hi,

There's a headless (ie command line I think) browser called PhantomJS which can apparently save page images to disk. So if you had a page that only had the chart then that would be one way.

phantomjs.org/screen-capture.html





Richard
Posted by Stu Andrews on 24th March 2016
Thanks Richard, champion. Will take a look.

Add a reply

 




« Back to message list
RGraph on social media