powered by
Regions are defined in multiple axis by passing a single `data.frame`
region(c3, regions)# S3 method for c3 region(c3, regions)
# S3 method for c3 region(c3, regions)
c3 htmlwidget object
data.frame with columns listed below. Any columns can be missing but results may be unexpected.
axis: character one of 'x', 'y', 'y2'
start: numeric but must match defined axis type
end: numeric but must match defined axis type
class: character css class
c3
Other c3: RColorBrewer, c3, grid, legend, subchart, tooltip, xAxis, zoom
RColorBrewer
grid
legend
subchart
tooltip
xAxis
zoom
# NOT RUN { iris %>% c3(x = 'Sepal_Length', y = 'Sepal_Width', group = 'Species') %>% c3_scatter() %>% region(data.frame(axis = 'x', start = 5, end = 6)) # }
Run the code above in your browser using DataLab