
googlechartseasyphpclass
A quick PHP class for creating Google Charts.
UPDATE: version 1.02 is available. Download v1.02.
Changes in 1.02 * Charts now work with BBCode * Can now specify chart bar widths * showGrid auto calculation fixed * Added negativeMode for negative number datasets
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: ```
$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.
Project Information
- License: GNU GPL v3
- 10 stars
- svn-based source control