You are here

function chart_line_style in Google Chart Tools: Image Charts 5

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

Line Style

Parameters

int $line_thickness:

int $segment_length:

int $blank_segment_length:

Return value

array

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

File

./chart.module, line 880
Google Charting API. Developed by Tj Holowaychuk

Code

function chart_line_style($line_thickness = 1, $segment_length = 1, $blank_segment_length = 0) {
  return array(
    '#line_thickness' => $line_thickness,
    '#segment_length' => $segment_length,
    '#blank_segment_length' => $blank_segment_length,
  );
}