addCategoryBlocks {vfinputs} | R Documentation |
Add list of category items
Description
Add list of category items
Usage
addCategoryBlocks(orient, input_id, color_map, values)
Arguments
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 |
Value
A list of the same length as values, containing either "span"
or "div"
elements depending on the chosen orientation.
See Also
[Package vfinputs version 0.1.0 Index]