wooio / htmltopdf-java

An HTML to PDF conversion library written in Java, based on wkhtmltopdf.
MIT License
173 stars 97 forks source link

Chart conversion not working #46

Open dravidnsk opened 4 years ago

dravidnsk commented 4 years ago
public class PDFCreation {

public static void main(String[] args)
{

boolean success1 = HtmlToPdf.create()
            .object(HtmlToPdfObject.forUrl("file:///C:/Users/sathishkumar_n/Desktop/pipeChart.html")
                    .enableJavascript(true))
            .convert("C:\\Nsk\\PDF\\pipechart.pdf");
}

}

pipeChart.zip pipechart.pdf