Added getBestTickInRange in custom scale example

Signed-off-by: Oleg Bulatov <oleg@bulatov.me>