Skip to content

Available Graphics

Jason Eisner edited this page Feb 26, 2016 · 3 revisions

This is about known visualization commands.

Each observation needs a visualization directive to be displayed. Directives are a comma-separated list of key=value pairs. There are three different types of directives: inline SVGs, images or text. Each directive type must have a shape key.

  • inline SVG
    • shape: set this to one of
      • circle
      • square
      • triangle
      • pentagon
    • fill: set this to one of
      • solid
      • striped
      • hollow
  • images
    • shape: set this to
      • image
    • value: set this to
  • text
    • shape: set this to
      • text
    • value: set this to
      • what your text should be

Note that text is brittle: since SVG text doesn't word-wrap, computing and adjusting relative sizes is non-trivial.

Clone this wiki locally