Description Usage Arguments Value Examples
Modify the size of the chart within the htmlwidget area. Generally charts size to the div in which they are placed. These options enable finer scale sizing with the div
1 2 |
c3 |
c3 htmlwidget object |
left |
integer padding pixels |
right |
integer padding pixels |
top |
integer padding pixels |
bottom |
integer padding pixels |
width |
integer pixels |
height |
integer pixels |
... |
additional options passed to the padding and size objects |
c3
1 2 3 | data.frame(a = c(1,2,3,2), b = c(2,4,1,5)) %>%
c3() %>%
c3_chart_size(width = 600, height = 200)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.