function google_charts_charts_info in Charts 6
Same name and namespace in other branches
- 7 google_charts/google_charts.hooks.inc \google_charts_charts_info()
Implementation of hook_charts_info().
Its a Charts module hook. It defines almost all aspects of a chart provider, like its name, what types of charts it can perform and what are the restrictions.
File
- google_charts/
google_charts.module, line 17 - @author Bruno Massa http://drupal.org/user/67164
Code
function google_charts_charts_info() {
return array(
'google' => array(
'file' => drupal_get_path('module', 'google_charts') . '/google_charts.inc',
'name' => t('Google Chart'),
'render' => '_google_charts_render',
'types' => array(
'line2D',
'hbar2D',
'vbar2D',
'hbar2Ds',
'vbar2Ds',
'pie2D',
'pie3D',
'venn',
'scatter',
),
),
);
}