[CDF-398] - CCC - make existing cartesian axes option "TickFormatter" also apply to discrete axes

* Code and JsDocs

@pamval please review.