Important Notice - Forums is archived
To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
Vaadin Charts exporting problem remote server
Hello,
I set up an highcharts export service on ubuntu server. With using vaadin charts exporting option, i am using all convertion on the server.
final Exporting exporting = new Exporting(true);
exporting.setUrl("http://172.16.56.165:8080/export/");
The problem is in pdf files. Charts are not fitting the page content, there is a scaling problem.
Examples are attached which as you can see jpeg file is ok, but pdf file is not same with the jpeg file.
Vaadin: 7.3.8
Vaadin-Charts: 2.0.0
Phantomjs: 1.9.0-1
HighCharts-export-server: 0.1.0
Latest highCharts convert scripts are copied from: http://code.highcharts.com/
Conver scripts: Highcharts JS v4.2.3 (2016-02-08)
EDIT: I can't attach files. Error is "Something unexpected happened". So files are here:
https://drive.google.com/folderview?id=0B5D3-INe3dvVY2x3ZDE1djFXQkU&usp=sharing
The problem is solved. Phantomjs version must be 2.0.0.
I hope this helps somebody in the future.