Tick generator using interval.

Close #1166.
actually i think the cleanest pattern is something like `_.range(0, nTicks).map((t) => firstTick + t * interval)`