setNumDivisors method for chart ruler