You are here

function charts_bluff_chartgraph_provider in Charts and Graphs 6

Implementation of hook_charts_graphs_provider().

File

apis/charts_bluff/charts_bluff.module, line 10
drupal module file implementing bluff charting.

Code

function charts_bluff_chartgraph_provider() {
  $provider = array(
    'path' => dirname(__FILE__) . '/charts_bluff.class.inc',
    // must be full path
    'clazz' => 'ChartsBluff',
    // implementation class' name
    'name' => 'bluff',
    // name used when invoking through a factory method
    'nice_name' => 'Bluff',
    'chart_types' => array(
      'line' => t('Line'),
      'bar' => t('Bar'),
      'pie' => t('Pie'),
      'area' => t('Area'),
      'side_bar' => t('Side Bar'),
      'stacked_side_bar' => t('Stacked Side Bar'),
      'stacked_area' => t('Stacked Area'),
      'stacked_bar' => t('Stacked Bar'),
      'mini_bar' => t('Small Bar'),
      'mini_pie' => t('Small Pie'),
      'mini_side_bar' => t('Small Side Bar'),
    ),
  );
  return (object) $provider;
}