title: Embedding charts in the PDF using TCPDF library
body: <p>I am working on a project in which a PDF file is to be generated.
  I have used Google Chart API for generating different charts. I am using the TCPDF library for converting them into PDF but I am unable to embed these genearted graphs into the PDFs. I think TCPDF does not accept the contents written in the script tag. How can I overcome this problem?</p>