recommendations for a PHP library for business graphics?

GD and GD2 are useful libraries for creating graphics on-the-fly. Discuss your PHP GD and GD2 scripts here.

Moderators: onion2k, General Moderators

Post Reply
itp
Forum Commoner
Posts: 67
Joined: Fri Jun 15, 2007 6:50 am

recommendations for a PHP library for business graphics?

Post by itp »

Great discussion board!

Does anyone have any recommendations for a good PHP library for business graphics - for example bar & pie charts.
Preferably open source. I have been playing with this class, based on GD library at codewalkers.com
which is a good, but limited.

http://www.codewalkers.com/c/a/Content- ... Bar-Chart/
my example... http://tinyurl.com/36fdc4

I would also want to know if is is possible to generate an image and insert it into an HTML page without creating a temporary file
on disk. All examples I have seen either write to disk or display image on its own and not within HTML img tag.
I ask this because some hosting services do not seem to permit a script to generate a file on the server.
jmut
Forum Regular
Posts: 945
Joined: Tue Jul 05, 2005 3:54 am
Location: Sofia, Bulgaria
Contact:

Post by jmut »

itp
Forum Commoner
Posts: 67
Joined: Fri Jun 15, 2007 6:50 am

Post by itp »

thanks jmut!

JPGraph looks great, but I was not able to get it working on client's server. May have to do with how Apache is set up.
I tried PowerGraphic by Carlos Reche. It is not as feature rich and I don't think it is being updated, but is still very powerful and suitable for our needs.

http://www.phpclasses.org/browse/package/1993.html

my examples
http://tinyurl.com/3dl76r
User avatar
Kieran Huggins
DevNet Master
Posts: 3635
Joined: Wed Dec 06, 2006 4:14 pm
Location: Toronto, Canada
Contact:

Post by Kieran Huggins »

Post Reply