Modify plot elements that relate to the legend. The c3 legend is on by default, this function allows the legend to be removed, or other legend attributes to be set.
legend(c3, hide = FALSE, position = NULL, inset = NULL, item = NULL, ...) # S3 method for c3 legend(c3, hide = FALSE, position = NULL, inset = NULL, item = NULL, ...)
c3 | c3 htmlwidget object |
---|---|
hide | boolean or character of parameters to hide |
position | character one of 'bottom', 'right', 'inset' |
inset | list with options:
|
item | list with options:
|
... | additional options passed to the legend object |
c3