Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Create graphs with PHP and export to PDF

Tags:

php

graph

pdf

I'm looking for suggestions on creating graphs with PHP. I would also like to be able to export these graphs to a PDF document.

I am currently using google graphs but I don't like the idea of sending all my information to Google. I'd prefer my own in hosted solution.

I have seen a lot of Flash solutions but i'm not aware of any way to export the SWF's to PDF.

Any pointers greatly appreciated.

Thanks.

like image 511
jim Avatar asked Jan 21 '23 01:01

jim


2 Answers

Lot of tools like PHPGraphLib, JPGraph this both produce images that you can embedd into pdfs

like image 195
MiPnamic Avatar answered Jan 22 '23 16:01

MiPnamic


Could something like SVGGraph plus SVG to PDF work?

like image 42
Svish Avatar answered Jan 22 '23 15:01

Svish