-
Notifications
You must be signed in to change notification settings - Fork 3
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 ofcirclesquaretrianglepentagon
-
fill: set this to one ofsolidstripedhollow
-
- images
-
shape: set this toimage
-
value: set this to- the url (string) of the image to use, relative to the top level index.html
-
- text
-
shape: set this totext
-
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.