function charts_google_create_chart_type in Charts 8
Parameters
$options:
Return value
1 call to charts_google_create_chart_type()
File
- modules/
charts_google/ charts_google.module, line 88 - Charts module integration with Google Charts library.
Code
function charts_google_create_chart_type($options) {
$googleChartType = new ChartType();
$googleChartType
->setChartType($options['type']);
return $googleChartType;
}