function chart_types in Google Chart Tools: Image Charts 7
Same name and namespace in other branches
- 6 chart.module \chart_types()
Get a map of chart types to human-readable names.
Return value
An associative array of chart types.
1 call to chart_types()
- chart_views_plugin_style_chart::options_form in chart_views/
views/ chart_views_plugin_style_chart.inc - Provide a form to edit options for this plugin.
File
- ./
chart.module, line 1338 - Provides primary Drupal hook implementations.
Code
function chart_types() {
return array(
CHART_TYPE_LINE => t('Line'),
CHART_TYPE_LINE_NO_AXIS => t('Line - no axis'),
CHART_TYPE_LINE_XY => t('Line - XY'),
CHART_TYPE_BAR_H => t('Bar - Horizontal'),
CHART_TYPE_BAR_V => t('Bar - Vertical'),
CHART_TYPE_BAR_H_GROUPED => t('Bar - Grouped Horizontal'),
CHART_TYPE_BAR_V_GROUPED => t('Bar - Grouped Vertical'),
CHART_TYPE_PIE => t('Pie'),
CHART_TYPE_PIE_3D => t('Pie - 3D'),
CHART_TYPE_PIE_CONCENTRIC => t('Pie - Concentric'),
CHART_TYPE_VENN => t('Venn Diagram'),
CHART_TYPE_SCATTER => t('Scatter plot'),
CHART_TYPE_MAP => t('Map'),
CHART_TYPE_RADAR => t('Radar'),
CHART_TYPE_RADAR_FILLED => t('Radar - filled'),
CHART_TYPE_GMETER => t('Goole-o-meter'),
CHART_TYPE_QR => t('QR code'),
);
}