Call For Help: Generating Charts and Graphs in PHP
Posted on Thursday, December 30, 2004
I need recommendations for a good, free (and, preferably, Free) charting library for PHP.
Ideally this library would be able to generate all the simple types of business graphics — line charts, bar charts, pie charts, etc. If it can do fancy stuff like find trendlines that’s even better.
Have a suggestion? Let me know in the comments thread. Thanks!
Sound Off, Loudmouth!
Image_Graph looks interesting. Any ideas how it stacks up versus JpGraph:
http://www.aditus.nu/jpgraph/index.php
? Anyone out there used one or the other of these?
I’ve used JpGraph a lot lately and am really impressed by it. The online documentations is really useful and complete. Not sure if it does trendlines or not although a moving average would be easy to program yourself as you crunch through the data to graph. Now, if you wanted to fit a line to a plot (of non-time-series data of course), you could also do that yourself farely easily. Or ask me to write a simple php library that would do those for you. I could actually use something like that…

Pear’s Image_Graph maybe?
http://pear.php.net/package/Image_Graph