datastorm-open / rAmCharts

API for Amcharts
48 stars 17 forks source link

amTimeSeries dont work with time < minute #87

Closed TitouanRobert closed 5 years ago

TitouanRobert commented 5 years ago

Hi,

amTimeSeries dont work with time < minute

data("data_stock_2")

data_stock_2 <- data_stock_2[1:6,]
data_stock_2$date <- as.POSIXct(data_stock_2$date)
data_stock_2$date <- c(data_stock_2$date[1], data_stock_2$date[1]+30, data_stock_2$date[1]+60, data_stock_2$date[1]+90, data_stock_2$date[1]+120,
                       data_stock_2$date[1]+150)
amTimeSeries(data_stock_2, "date", c("ts1", "ts2"))
bthieurmel commented 5 years ago

Fix on github