views:

410

answers:

3

I would like to generate a chart from a dataset and eventually put it in a pdf format. How would I go about doing this? Which packages would you recommend?

+1  A: 

A solution might to go in two steps :

  • first, generate the chart, and save it as an image
  • then, embed this image in a PDF file

About the first point, there are many questions/answers that might help you ; for instance :

About the second point, I've not done that quite often, but I suppose Zend_Pdf, for instance, could be helpful -- note there are probably other solutions too !

Pascal MARTIN
A: 

Take a look at the Diagrams AddOn for fpdf.
I've never used it but would give it a try before storing a raster image of a chart in a pdf.

VolkerK
A: 

I would look into these:

Phill Pafford