title: Export PHP with Google charts and table as PDF
body: <p>I have a PHP page with Google charts and a table below it that needs to be exported as PDF.</p>
  <p>I tried using</p>
  <pre><code>var doc = new jsPDF();
          doc.addImage(chart.getImageURI(), 0,0);
          doc.save('chart.pdf');
  </code></pre>
  <p>for the google chart and dompdf for the table but obviously when using both code at once it doesn't work.</p>
  <p>Is there a  way to export the page as a whole, or a PDF page of the chart and 2nd for the table all within the same PDF file?
  <a href="https://i.stack.imgur.com/m0Nn8.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/m0Nn8.png" alt="enter image description here" /></a></p>