function hook_charts_type_info_alter in Charts 8
Same name and namespace in other branches
- 7.2 charts.api.php \hook_charts_type_info_alter()
Alter the chart types in the system.
If your module needs to modify the capabilities or labels of a paricular chart type, it may alter the definitions provided by other modules.
Parameters
$chart_types:
1 invocation of hook_charts_type_info_alter()
- charts_type_info in includes/
charts.pages.inc - Retrieve a list of all chart types available.
File
- ./
charts.api.php, line 192 - Documentation on hooks provided by the Charts module.
Code
function hook_charts_type_info_alter(&$chart_types) {
$chart_types['bar']['stacking'] = FALSE;
}