References on creating Charts/Graphs in PHP? [clos

2019-04-03 04:25发布

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.

标签: php charts graph
6条回答
走好不送
2楼-- · 2019-04-03 04:45

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.

查看更多
可以哭但决不认输i
3楼-- · 2019-04-03 04:45

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.)

查看更多
放荡不羁爱自由
4楼-- · 2019-04-03 04:57

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 :)

查看更多
狗以群分
5楼-- · 2019-04-03 05:00

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.

查看更多
Ridiculous、
6楼-- · 2019-04-03 05:07

http://pchart.sourceforge.net/

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

查看更多
登录 后发表回答