Extract the granularity-picking code of the date ticker into a new function.
authorAdam Vartanian <flooey@gmail.com>
Mon, 26 Dec 2011 04:30:08 +0000 (23:30 -0500)
committerDan Vanderkam <dan@dygraphs.com>
Mon, 26 Dec 2011 04:30:08 +0000 (23:30 -0500)
commit7a1f1877f3979293d8f2c64c2b274b09b93d4135
tree53157a88027683856127c0fa394a01d9d5a83827
parent758a629f806fa73483f730fb343013acd0ace078
Extract the granularity-picking code of the date ticker into a new function.

Extracting the granularity-selecting code into a new function, it would be
useful for me to be able to call that in my own ticker.
dygraph-tickers.js