New GphpChart Class : PHP with Google Chart API
Here is a PHP class to generate and cache Google Charts with the Google Chart API.
GphpChart Class, Google Chart with PHP
Download (tgz)(release 2007.12.18, 11k)
Download (zip)(release 2007.12.18, 11k)

2 commentaires
jaugusto :
Hello
What I don’t like about Google chart API is the fact axis don’t have nothing to do with values.
Thus, in order for a simple x,y graph to make sense, you have to find the percentage of all your values and then plot them. I mean, if your max value is 150, you must make 150=100% and then calculate all values below it in terms of percentage. Your laber on the x axe will be 150, but your value will be 100%.
Regards,
Jose
Also: it does not work on forums with the [IMG] tag…
It would be usefull for the PHP class to load the url as binary and outputs it as .png, so that it can be recognized everywhere.
Commenté le 06/01/08 à 22:06Jimbo :
Hiya!
Re. your comment: “The length of the URL is limited somehow.” … I think it’s just that there’s a fundamental limit of 1024 bytes for an HTTP GET request… so if the URI gets too long ( more than 1024 characters from the first “/” onwards ) it doesn’t work..
HTH.
Commenté le 09/01/08 à 15:59Jimbo