Possible duplicate: Wicked PDF - Wait for AJAX request to finish
Hi,
I am generating a PDF report using wicked_pdf. I want to show plotly graphs on the report. The pdf is generated, but the graphs are not showing. In my template, I have code that invokes the callback function, which has the request url and the function to plot the graph.
I tried the option :javascript_delay => 5000
in my controller, but still no graphs, although I can see the graphs when option show_as_html:
is true
What am I doing wrong?