Description Usage Arguments Examples
create a Frappe chart widget
1 |
options |
list of chart options |
width |
does nothing right now |
height |
does nothing right now |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | rfrappe(list(
data = list(
labels = c("12am-3am", "3am-6pm", "6am-9am", "9am-12am", "12pm-3pm", "3pm-6pm", "6pm-9pm", "9am-12am"),
datasets = list(
list(
title = "Some Data",
color = "light-blue",
values = c(25, 40, 30, 35, 8, 52, 17, -4)
),
list(
title = "Another Set",
color = "violet",
values = c(25, 50, -10, 15, 18, 32, 27, 14)
)
)
)
))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.