You are here

function chart_size in Google Chart Tools: Image Charts 5

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

Code

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