support numTicks in addition to time interval
Merge pull request #23 from amit-git/master

support numTicks in addition to time interval