PhantomJS is a headless WebKit script-able with a JavaScript API. It has fast and native support for various web standards.
To save a chart image using PhantomJS, without rendering it in a browser, follow the steps below:
-
Choose the download for your Operating System and Download PhantomJS.
-
Extract the files into your application folder along with the other FusionCharts JavaScript files.
- Copy the attached savePDF.js file.
To execute from a command line use the command:
`phantomjs savePDF.js [--delay ] [--scale ] TheURLOfAnyDashboard outputFileName`
Refer to the article for a detailed description on exporting charts as images.