Description Usage Arguments Value Examples
Create simple Gauge Charts
1 2 3 4 |
c3 |
c3 htmlwidget object |
label |
list with options:
|
min |
numeric |
max |
numeric |
units |
character appended to numeric value |
width |
integer pixel width of the arc |
pattern |
character vector or palette of colors |
threshold |
list with options:
|
height |
integer pixel height of the chart. Proportion of gauge never changes so height scales with width despite this setting. |
... |
additional values passed to the gauge, color and size objects |
c3
1 2 3 | data.frame(data=10) %>%
c3() %>%
c3_gauge(title = 'Colors')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.