function charts_api_example_chart_definition_foobar_alter in Charts 8.4
Same name and namespace in other branches
- 5.0.x modules/charts_api_example/charts_api_example.module \charts_api_example_chart_definition_foobar_alter()
Implements hook_chart_CHART_ID_alter().
File
- modules/
charts_api_example/ charts_api_example.module, line 28 - Charts Api Example - Module.
Code
function charts_api_example_chart_definition_foobar_alter(&$chart) {
$chart['chart']['backgroundColor'] = 'blue';
}