dygraphs
dygraphs copied to clipboard
dygraphs not showing graphs in Rstudio on Macbook
I used dygraph(nhtemp, main = "New Haven Temperatures")
The figure shows as follows
Hello @chaoshunh! I can't reproduce the issue. Could you please provide us with more details?

I am also having the same issue. Also on macbook pro 2018.
https://rstudio.github.io/dygraphs/gallery-series-options.html
I have tried multiple examples as shown in the gallery. Getting the same figure as @chaoshunh
Is there are the solution to this?
I have the exact same issue. There is a problem with the asISO8601Time function in the utils.r. For some reason on my Mac the format results in:
> format(as.POSIXct(Sys.Date(), tz="GMT"), format = "%04Y-%m-%dT%H:%M:%OS3Z", tz = 'GMT')
[1] "4Y-03-10T00:00:00.000Z"
This is not a valid date so the js complains.
Removing the 04 seems to work. At least for my system.
> format(as.POSIXct(Sys.Date(), tz="GMT"), format = "%Y-%m-%dT%H:%M:%OS3Z", tz = 'GMT')
[1] "2020-03-10T00:00:00.000Z"