Charting with PHP and Exporting to PDF

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

I currently use Google graphics, but I don’t like the idea of ​​sending all my information to Google. I would prefer my own hosting solution.

I have seen many Flash solutions, but I don’t know how to export SWF to PDF.

Any pointers really appreciated.

Thanks.

+4
source share
7 answers

Can something like SVGGraph plus SVG to PDF work?

+2
source

A lot of tools like PHPGraphLib , JPGraph both create images that you can embed in pdf files

+3
source

We do PDF reports on the fly. These documents have both text and images. The PDF file is made using TCPDF and images with the php GD library. Both libraries are free.

+1
source

one of the best graphical api libraries Rgraph .

+1
source

If you want to explore Flash Avenue, you can check out the http://alivepdf.bytearray.org/ open source PDF library for AS3.

0
source

You can use Javascript, Highcharts for free for non-commercial use. And it has export options to PDF.

Highcharts is a graphical library written in pure JavaScript that offers an easy way to add interactive diagrams to your website or Internet expression. Tall charts are currently supported by line, spline, area, areapline, column, bar, pie and scatter chart types http://www.highcharts.com/

0
source

I used the Google Maps API and pasted them into pdf files using FPDF .

-1
source

Source: https://habr.com/ru/post/1347103/


All Articles