References on creating Charts/Graphs in PHP? [clos

2019-04-03 05:00发布

问题:

Can anyone suggest a book or a tutorial on creating Charts in PHP extracting the data from MySQL Database. It should not involve Flash in any way.

I dont want to use any pre-built charting solutions.

回答1:

You will probably want to look at using the GD image library.

Here's a tutorial to get you started: Dynamically Creating Graphs and Charts with PHP and GDChart.



回答2:

http://code.google.com/p/mtchart/

Open Source PHP charting library (Fork of pChart, more OO-Code), looks way nicer than the current market leader jpGraph.

(Disclamer/Plug-notification: I'm the developer of mtChart.)



回答3:

http://code.google.com/intl/iw/apis/visualization/

google visualization



回答4:

http://pchart.sourceforge.net/

Open Source PHP Charting Library. It also has good examples and excellant documentation.



回答5:

I can for sure suggest jpGraph (http://www.aditus.nu/jpgraph/features.php) , a very complete and well tested library with a number of feature that no other can offer. My 2 cents :)



回答6:

For some simple charts and graphs I can recommend HTML_Graphs. It is a bit old now but easy to implement, uses straight HTML, and doesn't rely on any third party services or libraries.



标签: php charts graph