Description Usage Arguments Value See Also
Add list of category items
1 | addCategoryBlocks(orient, input_id, color_map, values)
|
orient |
Orientation of the legend. Can be |
input_id |
The CSS class used to trigger interactions |
color_map |
A list of colors from where the corresponding item color will be retrieved |
values |
A list of values from which the corresponding item label will be retrieved |
A list of the same length as values, containing either "span"
or "div"
elements depending on the chosen orientation.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.