Posted by boombatower on January 3, 2008 at 7:50pm
Why Use Google Charts?
There are many reasons to choose Google Chart API over other methods such as Flash or Flex charts.
- Free
- Lightweight, reliable, no need for server side libraries or additional modules
- Simple to extend and implement within the Drupal framework
- Memory friendly. Thanks Google for taking the hit ;)
Example
An example using the 7.x version.
<?php
$chart = array(
'#chart_id' => 'test_chart',
'#title' => t('Servings'),
'#type' => CHART_TYPE_PIE_3D,
);
$chart['#data']['fruits'] = 3;
$chart['#data']['meats'] = 2;
$chart['#data']['dairy'] = 5;
echo theme('chart', array('chart' => $chart));
?>
Views integration
The chart_views module contained within the chart project provides integration with Views. The 6.x version requires Views Calc, while the 7.x version simply requires Views 7.x-3.x.
Documentation
Google code wiki provides documentation for hooks, examples, screenshots, and more. Keep in mind that this documentation has not been updated for the 7.x version although most of the API is the same. See the README.txt and chart.api.php files for more information.
Developers
- Victoria Web Design Vision Media
- Boombatower Development
Downloads
Recommended releases
Development releases
Project Information
- Maintenance status: Minimally maintained
- Development status: Maintenance fixes only
- Reported installs: 16191 sites currently report using this module. View usage statistics.
- Downloads: 50,633
- Last modified: September 16, 2011