PhantomJS Packages

FusionCharts are rendered in the browser using Javascript. In order to download various image formats or email the chart, it must first be converted to an image on the server. We've chosen to use PhantomJS for this purpose.

PhantomJS is a headless WebKit browser scriptable with a JavaScript API. The same Javascript rendering used in the client browser, is essentially rendered in a virtual browser on the server and the image is captured from that browser session, just as a screen capture utility could be used in the client browser to capture the image. After capturing, the selected download format is saved in the /graphs folder within the QLR install directory and presented for download. If a report is being emailed, the chart can be included as an in-line image (base64 encoded) or as a PNG attachment.

The phantomjs binary is not included with the QLR Manager install package because there are different versions based on the hosting environment OS, and the files are rather large. PhantomJS is free and open source software. For your convenience we are hosting the Binary packages here. These are the latest versions available as this page was posted, but you may wish to check phantomjs.org for a more current release.

Please read below the few things to be aware of when applying the phantomjs binary:
The appropriate binary must be installed in the correct folder: QLR install directory > phantomjs > bin.
The phantomjs binary must be named phantomjs in Linux environments and phantomjs.exe in Windows.
When using FTP to transfer the phantomjs binaries, they must be transferred using a Binary transfer.
The /phantomjs folder, along with all the nested folders and files should have 755 permissions.
Sometimes the linux-X86-64 (64-bit) version of phantomjs will not run on a 64-bit server and in most of these cases the linux-i686 (32-bit) version will often run successfully.
 PhantomJS-1.9.8 
64-bit: phantomjs-1.9.8-linux-x86_64 (36.57 MB)
32-bit: phantomjs-1.9.8-linux-i686 (36.85 MB)
Windows: phantomjs-1.9.8-windows (7.14 MB)
QLR Downloads