array( 'file' => drupal_get_path('module', 'google_charts') .'/google_charts.inc', 'name' => t('Google Chart'), 'render' => '_google_charts_render', 'types' => array('line2D', 'hbar2D', 'vbar2D', 'pie2D', 'pie3D', 'venn', 'scatter'), ), ); } /** * Immplementation of hook_chart_types(). */ function google_charts_chart_types() { return array( 'venn' => t('Venn'), 'scatter' => t('Scatter Plot'), ); }