Set tick type