Reputation: 614
I am trying to show a graph with dygraph with a TWO_DAYS granularity but I'm not able to find the way of declaring it.
Any ideas??
Thank you very much!
Upvotes: 0
Views: 559
Reputation: 7054
You are looking for the dateWindow parameter I think.
dateWindow
Initially zoom in on a section of the graph. Is of the form [earliest, latest], where earliest/latest are milliseconds since epoch. If the data for the x-axis is numeric, the values in dateWindow must also be numbers.
Type: Array of two Dates or numbers
Default: Full range of the input is shown
Upvotes: 1