I have downloaded and installed the 8.1 release from Tuesday. One thing that I had trouble with in 8.0 is that I could not use javascript charts (Google, High Charts, Flot, etc.) within my HTML documents. I also have not found an SVG library for PHP that produced the kind of output that I was happy with.
So, after installing 8.1, I can run:
and
but can only see a blank canvas where the chart(s) should be. The Google example emits a ton of warnings (not surprising, given that there is a lot of other stuff going on with the page), but the flot example does not give any warnings.
My question is whether there is a javascript charting library that was used for testing the new version, a trick I should try to get the results I'm looking for, or if this is still on the roadmap. I'm evaluating PrinceXML to be used to power a reporting platform to replace TCPDF, and charts are the last checkbox on what we need it to be able to do.
So, after installing 8.1, I can run:
$ prince https://developers.google.com/chart/interactive/docs/gallery/barchart --input=html --javascript -o ~/Downloads/test-google.8.1.pdf
and
$ prince http://people.iola.dk/olau/flot/examples/basic.html --javascript -o ~/Downloads/test-flot.pdf
but can only see a blank canvas where the chart(s) should be. The Google example emits a ton of warnings (not surprising, given that there is a lot of other stuff going on with the page), but the flot example does not give any warnings.
My question is whether there is a javascript charting library that was used for testing the new version, a trick I should try to get the results I'm looking for, or if this is still on the roadmap. I'm evaluating PrinceXML to be used to power a reporting platform to replace TCPDF, and charts are the last checkbox on what we need it to be able to do.