function chart_bar_size in Google Chart Tools: Image Charts 7
Same name and namespace in other branches
- 5 chart.module \chart_bar_size()
- 6 chart.module \chart_bar_size()
Bar chart bar sizing.
Parameters
int $size: (optional) Height or width of the bar.
int $spacing: (optional) Pixel spacing between bars.
int $group_spacing: (optional) Pixel spacing between bars.
Return value
array
File
- ./
chart.module, line 1169 - Provides primary Drupal hook implementations.
Code
function chart_bar_size($size = 40, $spacing = 20, $group_spacing = 30) {
return array(
'#size' => $size,
'#spacing' => $spacing,
'#group_spacing' => $group_spacing,
);
}