You are here

charts_bluff.module in Charts and Graphs 6

drupal module file implementing bluff charting.

File

apis/charts_bluff/charts_bluff.module
View source
<?php

/**
 * @file drupal module file implementing bluff charting.
 */

/**
 * Implementation of hook_charts_graphs_provider().
 **/
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;
}

Functions

Namesort descending Description
charts_bluff_chartgraph_provider Implementation of hook_charts_graphs_provider().