You are here

function chart_get_type in Charts 7.2

Retrieve a specific chart type.

6 calls to chart_get_type()
charts_plugin_style_chart::options_form in views/charts_plugin_style_chart.inc
Generate a form for setting options.
charts_plugin_style_chart::render in views/charts_plugin_style_chart.inc
Render the entire view from the view result.
charts_pre_render_element in ./charts.module
Main #pre_render callback to expand a chart element.
_charts_google_populate_chart_axes in modules/charts_google/charts_google.inc
Utility to populate chart axes.
_charts_google_populate_chart_data in modules/charts_google/charts_google.inc
Utility to populate chart data.

... See full list

File

./charts.module, line 319
Provides elements for rendering charts and Views integration.

Code

function chart_get_type($chart_type) {
  $types = charts_type_info();
  return $types[$chart_type] ? $types[$chart_type] : FALSE;
}