You are here

function chart_shape_marker in Google Chart Tools: Image Charts 5

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

Shape Marker

Parameters

int $index: (optional) The index of the line on which to draw the marker.

float $point: (optional) Floating point value that specifies on which data point the marker will be drawn.

string $type :

int $size: (optional) Marker size in pixels.

string $color :

Return value

array

File

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

Code

function chart_shape_marker($index = 0, $point = 0, $type = 'o', $size = 20, $color = '000000') {
  return array(
    '#type' => $type,
    '#color' => $color,
    '#index' => $index,
    '#point' => $point,
    '#size' => $size,
  );
}