Hi everyone,
I installed JSreport on my server, where I use it as report service for my Angular 4 Application.
I currently designed a client service that sends JSreport HTTP request to the server. These requests wrap the data to be displayed in report, including information (data and options) to be passed to Chart.js in order to render a bar chart inside the pdf. These Chart.js information are the same as my application, which render perfectly.
Unforunately, I am not able to render the PDF with the chart, if the data and options are passed as input, giving me a Timeout error.
I am able to render a simple chart with simple data defined in the template, but no way if I try to bind it with the input data.
The problem occurs only with the chart, since if I try to render the pdf with only the tabular data, it successes.
Everything is set up as the docs say: PhantomPDF config set for waiting the trigger, chart animation callback option set to true, helper function toJSON defined. No results.
Here a playground with the example:
https://playground.jsreport.net/studio/workspace/H14q_Nndb/6