Custom tick generation

Add functionality to provide custom tick generator for quantitative scale.

Close #1058.
this jsdoc is just restating variable names