Description Usage Arguments Value See Also
Add list of colored strips
1 | addColorStrips(n_strips, color_map, orient, pos_function, size, thickness = 20)
|
n_strips |
Number of strips to be added |
color_map |
A list of colors corresponding to the number of strips |
orient |
Orientation of the legend. Can be |
pos_function |
A function to convert from index number to pixels |
size |
The length of the list in pixels |
thickness |
The height or width of the list in pixels |
A list of SVG rect
shapes.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.