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'), ), ); } /** * Implementation of hook_chart_types(). */ function google_charts_chart_types() { return array( 'venn' => t('Venn'), 'scatter' => t('Scatter Plot'), 'hbar2Ds' => t('Horizontal Bar Stacked 2D'), 'vbar2Ds' => t('Vertical Bar Stacked 2D'), ); }