docs/glyphs.coffee

annular_wedge

{ type: 'annular_wedge' x: 'xdata' y: 'ydata' start_radius: 5 end_radius: 10 start_angle: "starts" end_angle: "ends" }

annulus

{ type: 'annulus' x: 'xdata' y: 'ydata' start_radius: 5 end_radius: 10 }

arc

  • x, y
  • radius
  • start_angle, end_angle
  • direction
    • values ['clock', 'anticlock'] (default: 'anticlock')
  • line properties
{ type: 'arc' x: 'xdata' y: 'ydata' radius: 5 start_angle: "starts" end_angle: "ends" }

asterisk

{ type: 'asterisk' x: 'xdata' y: 'ydata' size: 5 }

bezier

{ type: 'bezier' x0: 'x0s' y0: 'y0s' x1: 'x1s' y1: 'y1s' cx0: 'control_x0s' cy0: 'control_y0s' cx1: 'control_x1s' cy1: 'control_y1s' }

circle

{ type: 'circle' x: 'xdata' y: 'ydata' radius: 5 }

circle_cross

{ type: 'circle_cross' x: 'xdata' y: 'ydata' size: 5 }

circle_x

{ type: 'circle_x' x: 'xdata' y: 'ydata' size: 5 }

cross

{ type: 'cross' x: 'xdata' y: 'ydata' size: 5 }

diamond

{ type: 'diamond' x: 'xdata' y: 'ydata' size: 5 }

diamond_cross

{ type: 'diamond_cross' x: 'xdata' y: 'ydata' size: 5 }

inverted_triangle

inverted_triangle

{ type: 'inverted_triangle' x: 'xdata' y: 'ydata' size: 5 }

line

{ type: 'line' x: 'xdata' y: 'ydata' }

multi_line

{ type: 'multi_line' xs: 'xdata' ys: 'ydata' }

oval

{ type: 'oval' x: 'xdata' y: 'ydata' width: 'widths' height: 10 angle: pi/4 }

patch

{ type: 'patch' x: 'xdata' y: 'ydata' }

patches

{ type: 'patches' xs: 'xdata' ys: 'ydata' }

quad

{ type: 'quad' left: 'lefts' right: 'rights' top: 2 bottom: 6 }

quadratic

{ type: 'quadratic' x0: 'x0s' y0: 'y0s' x1: 'x1s' y1: 'y1s' cx: 'control_xs' cy: 'control_ys' }

ray

{ type: 'ray' x0: 'x0' y0: 'y0' length: 20 angle: 'angles' }

rect

{ type: 'rect' x: 'x' y: 'y' width: 2 height: 6 size: 5 }

segment

{ type: 'segment' x0: 'x0' y0: 'y0' x1: 6 y1: 'y1' }

square

{ type: 'square' x: 'xdata' y: 'ydata' size: 5 }

square_cross

{ type: 'square_cross' x: 'xdata' y: 'ydata' size: 5 }

square_x

{ type: 'square_x' x: 'xdata' y: 'ydata' size: 5 }

text

{ type: 'text' x: 'xdata' y: 'ydata' text: "foo bar baz" }

wedge

{ type: 'wedge' x: 'xdata' y: 'ydata' radius: 5 start_angle: "starts" end_angle: "ends" }

x

x

{ type: 'x' x: 'xdata' y: 'ydata' size: 5 }