You are here

function chart_title in Google Chart Tools: Image Charts 7

Same name and namespace in other branches
  1. 5 chart.module \chart_title()
  2. 6 chart.module \chart_title()

Title

Parameters

string $title:

string $color:

int $size:

Return value

array

1 call to chart_title()
system_charts_build in system_charts/system_charts.module
Gather data and build a chart API structure.

File

./chart.module, line 933
Provides primary Drupal hook implementations.

Code

function chart_title($title, $color = '000000', $size = 14) {
  return array(
    '#title' => $title,
    '#color' => $color,
    '#size' => $size,
  );
}