You are here

function chart_size in Google Chart Tools: Image Charts 7

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

Chart size

Return value

array

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

File

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

Code

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