dirname(__FILE__) . '/charts_graphs_google_charts.class.inc', // must be full path 'clazz' => 'ChartsGraphsGoogleCharts', // implementation class' name 'name' => 'google-charts', // name used when invoking through a factory method 'nice_name' => 'Google Charts', 'chart_types' => array( 'line' => t('Line'), 'bar' => t('Bar'), 'pie' => t('Pie'), 'pie_3d' => t('3D Pie'), 'area' => t('Area'), 'side_bar' => t('Side Bar'), 'stacked_side_bar' => t('Stacked Side Bar'), 'queued_bar' => t('Queued Bar'), 'stacked_bar' => t('Stacked Bar'), ), ); return (object) $provider; }