css - dygraph - how to change the default time period range selector is set too -


The example code for the Dygraph Range selector is the default range selector representing the whole time period.

Is there any instance of a mirror in which the selector has been set to spend only 2 days or a week? If not, how can it be accomplished?

You can enter dateWindow property, for example:

  New Digraph (div, data, {dateWindow: [3, 7]});  


Comments

Popular posts from this blog

import - Python ImportError: No module named wmi -

Editing Python Class in Shell and SQLAlchemy -

c# - MySQL Parameterized Select Query joining tables issue -