Open echaintreau opened 5 years ago
Hi,
Impossible to use the option useDataTimezone, the output is an empty graph for exemple
library(xts) library(dygraphs) test <- xts(x = c(1:5),order.by = Sys.time()-60*c(1:5)) test2 <- test indexTZ(test2)<-'UTC' dyOptions(dygraph = dygraph(test),useDataTimezone = TRUE) #work dyOptions(dygraph = dygraph(test2),useDataTimezone = TRUE) #not working
however if you do
library(xts) library(dygraphs) test2 <- xts(x = c(1:5),order.by = Sys.time()-60*c(1:5),tzone='UTC') dyOptions(dygraph = dygraph(test2),useDataTimezone = TRUE) #work
it work strange
Hi,
Impossible to use the option useDataTimezone, the output is an empty graph for exemple