I’m trying to print out multiple charts via PDF. As I’ve followed the guide from the the book of Vaadin I’ve had no problem doing this in my testenviroment (a localhost glassfish-server), but when I run it on the pre-deploy server, which runs linux, then the graphs get all weird.
At first I though it was some margins or scales, but I just confirmed by reading an SVG file in from disk, that the iText and batik features works fine. Hence the problem lies within the SVG generator.
I’ve had the following post on stackoverflow since friday: http://stackoverflow.com/questions/37749166/itext-batik-and-vaadin-charts-scales-wrong-on-linux, which contains the code.
I really hope somebody here can help me
Ben