src/scales/scale.linear.js
function() {
		var me = this;
		var tickFont;

		if (me.isHorizontal()) {
			return Math.ceil(me.width / 40);
		}
		tickFont = helpers.options._parseFont(me.options.ticks);
		return Math.ceil(me.height / tickFont.lineHeight);
	}
function() {
		var me = this;
		var tickFont;

		if (me.isHorizontal()) {
			return Math.ceil(me.width / 40);
		}
		tickFont = helpers.options._parseFont(me.options.ticks);
		return Math.ceil(me.height / tickFont.lineHeight);
	}
function ( ) { var me = this ; var tickFont ; if ( me . isHorizontal ( ) ) { return Math . ceil ( me . width / 40 ) ; } tickFont = helpers . options . _parseFont ( me . options . ticks ) ; return Math . ceil ( me . height / tickFont . lineHeight ) ; }
Returns the maximum number of ticks based on the scale dimension
Returns the maximum number of ticks based on the scale dimension