You are here

function chart_shape_marker in Google Chart Tools: Image Charts 7

Same name and namespace in other branches
  1. 5 chart.module \chart_shape_marker()
  2. 6 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 1123
Provides primary Drupal hook implementations.

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,
  );
}