Chapter 14. Server-side Highcharts

The first edition of Learning Highcharts covered a number of approaches to run Highcharts on the server side. Since then, there has been significant development in this area. It turns out that Highcharts adopts PhantomJS (the headless webkit) for the server solution and PhantomJS/Batik for the server implementation in Java. We will also explore how we can create our own Highcharts server process using PhantomJS and how to use the official server-side script released by Highcharts.

In this chapter, we will cover the following topics:

  • Why we want to run Highcharts on the server side
  • Why PhantomJS and Batik are adopted by Highcharts
  • The basics of PhantomJS and Batik
  • Creating our own PhantomJS script to export charts ...

Get Learning Highcharts 4 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.