You are here

function chart_fill in Google Chart Tools: Image Charts 5

Same name and namespace in other branches
  1. 6 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 1002
Google Charting API. Developed by Tj Holowaychuk

Code

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