region {c3} | R Documentation |
Modify region elements on both x and y axis
Description
Regions are defined in multiple axis by passing a single 'data.frame'
Usage
region(c3, regions)
## S3 method for class 'c3'
region(c3, regions)
Arguments
c3 |
c3 htmlwidget object |
regions |
data.frame with columns listed below. Any columns can be missing but results may be unexpected.
|
Value
c3
See Also
Other c3: RColorBrewer
, c3
,
grid
, legend
,
subchart
, tooltip
,
xAxis
, zoom
Examples
iris %>%
c3(x = 'Sepal_Length', y = 'Sepal_Width', group = 'Species') %>%
c3_scatter() %>%
region(data.frame(axis = 'x',
start = 5,
end = 6))
[Package c3 version 0.3.0 Index]