A---- / highcharts-export-clientside

Module for Highcharts to exports charts client-side
http://a----.github.io/highcharts-export-clientside/
The Unlicense
49 stars 37 forks source link
highcharts javascript jpg pdf png svg

highcharts-export-clientside

Module for HighCharts to export charts client-side.

Webpage for this project is here: http://a----.github.io/highcharts-export-clientside/

You may need to export a chart you made using HighCharts to an image or a PDF. It has an exporting module but it relies on an export server, which by default is http://export.highcharts.com/ and you also –unlucky you– have one or more of the following:

Additionally, it provides a common interface between the official export module and export-csv.

Documentation

Want to give it a try in your project? Check its Website for installation instructions.

Contribution

First, fork the project and clone it. Then, since dependencies are not shipped, so you will have to do the following:

bower install

Check the example.html file and mess with it. Once you are done, please consider making a pull request.

Dependencies

This module depends on:

The only dependencies you must use are HighCharts and HighCharts exporting module. If you want PNG/JPEG, add canvas-tools. If you want PDF support, add both canvas-tools and jsPDF. If a dependency is missing for a file type, the option will not be available in the export menu.

1 There are issues with canvg, title/subtitle appearing twice, this kind of things which canvas-tools fixes. So I'd suggest to go with this one.

Changelog

v1.1.4 – 2015-11-20

v1.1.3 – 2015-10-02

v1.1.2 – 2015-07-08

v1.1.1 – 2015-07-07

v1.1.0 – 2015-07-07

Should have been done months ago, sorry. IE9 and below will not be supported in a near future and possibly any kind of future. Look at #4 for discussion on this matter.

v1.0.1 – 2015-04-27

 Credits

Written with the help of the following resources: