You are here

function hook_chart_color_schemes in Google Chart Tools: Image Charts 7

Define chart color schemes.

Return value

An associative array of color schemes keyed by the scheme name and containing an array of colors.

1 function implements hook_chart_color_schemes()

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

system_charts_chart_color_schemes in system_charts/system_charts.module
Implements hook_chart_color_schemes().
1 invocation of hook_chart_color_schemes()
chart_color_schemes in ./chart.module
Get the available color schemes.

File

./chart.api.php, line 27
Provides API documentation.

Code

function hook_chart_color_schemes() {
  return array(
    'my_scheme' => array(
      'FF8000',
      'FFFFFF',
    ),
  );
}