You are here

function chart_fill in Google Chart Tools: Image Charts 6

Same name and namespace in other branches
  1. 5 chart.module \chart_fill()
  2. 7 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 1138
Provides Google chart API integration.

Code

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