How to add custom tick period