My favorites | Sign in
Project Logo
Project hosting will be READ-ONLY Wednesday at 8am PST due to brief network maintenance.
                
Show all Featured wiki pages:
Documentation
Feeds:
People details
Project owners:
  whatfhefck

A quick PHP class for creating Google Charts.

UPDATE: version 1.02 is available. Download v1.02.

Changes in 1.02

You don't need anything besides this one class file because it creates urls to use google charts. For more complex charts look at the Wiki documentation for this project, if you still want more complex charts then you're free to modify this code.

Here is an example of a usage for a basic chart with 12 points of data:

<?php
include ('googlecharts.php');

$chart=new googleChart('4,6,21,7,1,6,17,5,2,1,7,9');
$chart->draw();
?>

This is it live.

Here is another one just for the fun of it:

You can also make more advanced charts, Read the documentation (also including in the .php file) to see examples on customize your chart.









Hosted by Google Code