You are here

function chart_fill in Google Chart Tools: Image Charts 7

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

Solid Fill

Parameters

int $type: (optional) 'bg' or 'c'

string $color:

Return value

array

1 call to chart_fill()
_chart_append in ./chart.module
When the value passed is valid append a chart API attribute and parsed values to $data.

File

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

Code

function chart_fill($type = 'c', $color = '000000') {
  return array(
    '#type' => $type,
    '#fill_type' => 's',
    '#color' => $color,
  );
}