You are here

function gd_image_chart_charts_info in Charts 6

Implementation of hook_charts_info().

Its a Charts module hook. It defines almost all aspects of a chart provider, like its name, what types of charts it can perform and what are the restrictions.

File

gd_image_chart/gd_image_chart.module, line 39
@author Mads Peter Henderson http://drupal.org/user/421971

Code

function gd_image_chart_charts_info() {
  return array(
    'gd_image_chart' => array(
      'file' => drupal_get_path('module', 'gd_image_chart') . '/gd_image_chart.inc',
      'name' => t('GD Image Chart'),
      'render' => '_gd_image_chart_charts_render',
      'types' => array(
        'vbar2D',
        'line2D',
      ),
    ),
  );
}