rendering template with charts in jsreport server
-
i have jsreport server with a template that has charts in it
and when rendering first time it shows charts second time it does not and so on one time it shows the next not,
how can i solve this
(1)
(2)
-
the charts are from highcharts:
<script src="https://code.highcharts.com/highcharts.js"></script>
<script src="https://code.highcharts.com/highcharts-more.js"></script>
<script src="https://code.highcharts.com/modules/heatmap.js"></script>
<script src="https://code.highcharts.com/modules/treemap.js"></script>
-
Have you tried to disable the charts animations?
-
yes i did
and i tried many code versions
it was working fine, i guess, before
and this is the link to the playground : https://playground.jsreport.net/w/Rafeeq20/AO93HbSiit works only first time !!!
-
in playground the code does not run everytime but after a couple of tries it will show report without charts
in server it shows charts one time, next it does not and loop of one time working.
-
You can see these warnings in the profile output
The highcharts CDN blocks the request to download the script.
It is the same problem described here, please check the mentioned solutions.
https://forum.jsreport.net/topic/3473/pdf-generation-err_blocked_by_orb/2