You are here

function hook_chart_definition_CHART_ID_alter in Charts 5.0.x

Same name and namespace in other branches
  1. 8.4 charts.api.php \hook_chart_definition_CHART_ID_alter()
  2. 8 charts.api.php \hook_chart_definition_CHART_ID_alter()
  3. 7.2 charts.api.php \hook_chart_definition_CHART_ID_alter()

Alter an individual chart before it's rendered.

Same as hook_chart_definition_alter(), only including the $chart_id in the function name instead of being passed in as an argument.

See also

hook_chart_definition_alter()

1 function implements hook_chart_definition_CHART_ID_alter()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

charts_api_example_chart_definition_foobar_alter in modules/charts_api_example/charts_api_example.module
Implements hook_chart_definition_CHART_ID_alter().

File

./charts.api.php, line 134
Documentation on hooks provided by the Charts module.

Code

function hook_chart_definition_CHART_ID_alter(array &$definition, array $element, $chart_id) {
}