Replies: 1 comment
-
I have found the problem and fixed it. One more thing. If you are going to use BS v1 or phantomjs, don't do it on higher version than Ubuntu 20.04 LTS. On Ubuntu 20.04 it worked fine, while on Ubuntu 22.04 the phantomjs binary just doesn't run. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, guys. I have a problem with export to PDF and Highcharts chart library.
I am using BS 1.9.1 version with phantom js. First just for a demo test I installed the package and on a test controller tested the charts
with an example from here -> CLICK .
It worked nice and exported the chart in a PDF successfully.
Then I tried to use the same functionality in a project. I have a page with some js objects, array loops and dynamically creating up to 7 charts for a page. On the page it works fine and I don't have any js errors in the console. However when I try to use Browsershot, I have a blank white page in the PDF. It's frustrating because I don't have any php errors and don't know how to debug or to see if there are js errors, or what is the problem exactly. Tried adding DOMContentLoaded but doesn't help.
Anyone faced such a problem or can you give a hack to avoid the bug?
Beta Was this translation helpful? Give feedback.
All reactions