function chart_grid_lines in Google Chart Tools: Image Charts 5
Same name and namespace in other branches
- 6 chart.module \chart_grid_lines()
- 7 chart.module \chart_grid_lines()
Grid Lines
Parameters
int $x_step: Space in pixels in which to step the horizontal lines.
int $y_step: Space in pixels in which to step the virtical lines.
int $segment_length: (optional) Visibile segment length in pixels.
int $blank_segment_length: (optional) Blank segment length in pixels.
Return value
array
1 call to chart_grid_lines()
- system_charts_build in contrib/
system_charts/ system_charts.module - Gather data and build a chart API structure.
File
- ./
chart.module, line 905 - Google Charting API. Developed by Tj Holowaychuk
Code
function chart_grid_lines($x_step, $y_step, $segment_length = 1, $blank_segment_length = 3) {
return array(
'#x_step' => $x_step,
'#y_step' => $y_step,
'#segment_length' => $segment_length,
'#blank_segment_length' => $blank_segment_length,
);
}