0
votes

I am using HighCharts version 3.0.2. Have set up the Highcharts server locally for exporting the charts. When download as png/jpeg/pdf is selected from the top right corner of the chart , the Highcharts demo page is displayed.

Please let me know what could be the reason for this.

Note: Have set the Phatom js path in my app.properties file of highcharts export server.

1

1 Answers

2
votes

Probably you're exporting.urlends without a trailing slash. The export-server will redirect the GET (without trailing slash) to the demo/welcome page

Instead of

exporting: {
    url: http://localhost/export
}

do this

exporting: {
    url: http://localhost/export/
}