Using local chart js reference
-
I am using a self hosted jsreport and a business requirement is I can’t go to the internet for js script references (no loading from cdns), but I am trying to build a chromepdf report with a chart.js chart in it.
How can I reference a local chartjs from within jsreport studio? I couldnt find if anyone else has encountered this specific problem before.
-
hi! you need to download chartjs and upload it to the studio (you can drag and drop the js file for chartjs to the studio entity tree) as an asset, then you just need to reference it in your html.