mrjoh3 / c3

c3 HTMLWidget Ploting
39 stars 51 forks source link

defined x axis breaks with tibble input #11

Closed mrjoh3 closed 6 years ago

mrjoh3 commented 6 years ago

when a tibble is used witha defined x axis the check on the data type breaks

data <- tibble(a = abs(rnorm(20) * 10),
                      b = abs(rnorm(20) * 10),
                      date = seq(as.Date("2014-01-01"), by = "month", length.out = 20))

c3(data, x = 'date')