Webpage to PDF not rendering JS charts


#1

Web page to PDF not rendering JS charts.

URL pageUrl = new URL(“http://localhost:8190/xxx/xxx.jsp”);
URLConnection urlConnection = pageUrl.openConnection();
Document doc = new Document(urlConnection.getInputStream(), new HtmlLoadOptions(“http://localhost:8190/xxx/xxx.jsp”));
doc.save(“output.pdf”);


#2

@chandrahasan

Thank you for contacting support.

Would you please create a narrowed down sample application so that we may try to reproduce and investigate it in our environment. Before sharing requested data, please ensure using Aspose.PDF for Java 18.6, which is latest available version of the API.