Running the Highcharts server script
So far, our script example is lacking in features and error checking functionality, and is far from perfect. Nonetheless, we can see how easy it is to create our own server-side Highcharts process to produce images. In this section, you will learn how to use the official server-side script by Highcharts, which has more features and can be used in different scenarios.
Server script usage
Since version 3, Highcharts is packaged with server-side script, highcharts_convert.js, which is located in the exporting-server/phantomjs directory. The script can be run as either a command line or as a listening server.
Tip
For a full description of usage and parameters, refer to https://github.com/highslide-software/highcharts.com/tree/master/exporting-server/phantomjs ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access