title: Insert Charts/Graphs using FPDF
body: <p>I apologies in advance if this question/query seems trivial. Despite my efforts searching within this forum and others, I still could not find a clear solution of how graphs or charts are included using FPDF.</p>
  
  <p>What I am trying to achieve is to create a pdf report containing charts amongst other data. These charts need to be created dynamically depending on user input.</p>
  
  <p>What I managed so far is to create a plot in pdf using phplot however when I try to include the output of the GDImage within the report, I get displayed only the chart/plot whilst the other contents dissapear. Thus currently I cannot include any graphs within my overall report.</p>
  
  <p>My questions are the following:
  1) Is phplot my solution to create graphs for later inclusion using FPDF?</p>
  
  <p>2) If yes to 1) how can I include the resulting GDimage within my report as currently imagedestroy($plot->img);$pdf->Output(); provides only pdf of the image/chart whilst other contents dissapear.</p>
  
  <p>3) If none of the above is correct can you indicate me a solution bearing in mind that I require graph generation on the fly ie, dynamically within the report?</p>
  
  <p>Apologise once again however I am currently lost.</p>