You are here

function chart_size in Google Chart Tools: Image Charts 6

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

Chart size

Return value

array

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

File

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

Code

function chart_size($width, $height) {
  return array(
    '#width' => $width,
    '#height' => $height,
  );
}