You are here

function chart_title in Google Chart Tools: Image Charts 6

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

Title

Parameters

string $title:

string $color:

int $size:

Return value

array

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

File

./chart.module, line 884
Provides Google chart API integration.

Code

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