Tick generator using interval.

Close #1166.
how about we make the tickGenerator fn on scale polymorphic and # -> auto-generated interval generator?
thoughts? @bluong  @jtlan