4 * Provides API documentation.
6 * @author Jimmy Berry ("boombatower", http://drupal.org/user/214218)
10 * Alter a chart before it is rendered.
13 * An associative array defining a chart.
16 function hook_chart_alter(&$chart) {
17 $chart['#title'] .
= ' (altered)';
21 * Define chart color schemes.
24 * An associative array of color schemes keyed by the scheme name and
25 * containing an array of colors.
27 function hook_chart_color_schemes() {
37 * Alter chart color schemes.
40 * An associative array of color schemes, see hook_chart_color_schemes().
42 function hook_chart_color_schemes_alter(&$schemes) {
43 $schemes['default'] = array(