Forum Bugs

Prince output with highchart svgs

Cuberic
I create a set of documents that have charts build using the highcharts library. I'm not sure what is happening, but all of a sudden it seems that switch from version 7 to version 8 of prince has caused a problem with the size and colour of the spark line.

I attached an image with the html and pdf view side by side.
  1. sparkline-prince.jpg181.7 kB
    side by side compairison
mikeday
Can you attach one of the SVG files here?
Cuberic
The svg charts are built for each report, and are inserted into the dom with Javascript. I could copy the output to the dom. Would that work?
mikeday
I guess? :) Presumably you are not running the JavaScript in Prince, as Prince 7 did not support JavaScript.
Cuberic
Here is the the whole report. SVG starts at line 65
  1. Report in the dom.html73.4 kB
    report with svgs
mikeday
Hmm, it seems to work for me in Prince 8.1 and Prince 9.
Cuberic
I tried it again this morning and it seems to be working fine. Not sure what caused the anomaly yesterday.