rfrappe: rfrappe

Description Usage Arguments Examples

View source: R/rfrappe.R

Description

create a Frappe chart widget

Usage

1

Arguments

options

list of chart options

width

does nothing right now

height

does nothing right now

Examples

 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)
      )
    )
  )
))

merlinoa/rfrappe documentation built on Oct. 19, 2020, 4:46 p.m.